aboutsummaryrefslogtreecommitdiff
path: root/keyboards/xw60
diff options
context:
space:
mode:
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)15
-rw-r--r--keyboards/xw60/rules.mk14
3 files changed, 15 insertions, 18 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..3bd11e21c1 100644
--- a/keyboards/xw60/info.json
+++ b/keyboards/xw60/keyboard.json
@@ -8,6 +8,21 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "extrakey": false,
+ "haptic": true,
+ "mousekey": false,
+ "nkro": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true
+ }
+ },
+ "haptic": {
+ "driver": "solenoid"
+ },
"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
deleted file mode 100644
index 710fb4ca88..0000000000
--- a/keyboards/xw60/rules.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# 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