aboutsummaryrefslogtreecommitdiff
path: root/keyboards/xw60
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-12 04:36:31 +0100
committerGitHub <[email protected]>2024-04-12 04:36:31 +0100
commit45b710f9e16733ab73af5f2ed1b0b13233db49e9 (patch)
tree28ebf0f60fa4a703fee358612197c3d87429945d /keyboards/xw60
parent8caa8674d225c1c26403f8c311be6ffbdd9081e1 (diff)
downloadqmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.tar.gz
qmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.zip
Migrate build target markers to keyboard.json - X (#23460)
Diffstat (limited to 'keyboards/xw60')
-rw-r--r--keyboards/xw60/config.h4
-rw-r--r--keyboards/xw60/keyboard.json (renamed from keyboards/xw60/info.json)12
-rw-r--r--keyboards/xw60/rules.mk13
3 files changed, 12 insertions, 17 deletions
diff --git a/keyboards/xw60/config.h b/keyboards/xw60/config.h
index 32516a5ec2..7bc4f08116 100644
--- a/keyboards/xw60/config.h
+++ b/keyboards/xw60/config.h
@@ -1,9 +1,5 @@
#pragma once
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-
#define SOLENOID_PIN F6
#define SOLENOID_ACTIVE true
#define SOLENOID_DEFAULT_DWELL 75
diff --git a/keyboards/xw60/info.json b/keyboards/xw60/keyboard.json
index 50315c5ffd..6316f944e5 100644
--- a/keyboards/xw60/info.json
+++ b/keyboards/xw60/keyboard.json
@@ -8,6 +8,18 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "extrakey": false,
+ "haptic": true,
+ "mousekey": false,
+ "nkro": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/xw60/rules.mk b/keyboards/xw60/rules.mk
index 710fb4ca88..a521203b32 100644
--- a/keyboards/xw60/rules.mk
+++ b/keyboards/xw60/rules.mk
@@ -1,14 +1 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = no # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # Audio output
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
-HAPTIC_ENABLE = yes
HAPTIC_DRIVER = solenoid