aboutsummaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd96
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/xiudi/xd96
parent8caa8674d225c1c26403f8c311be6ffbdd9081e1 (diff)
downloadqmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.tar.gz
qmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.zip
Migrate build target markers to keyboard.json - X (#23460)
Diffstat (limited to 'keyboards/xiudi/xd96')
-rw-r--r--keyboards/xiudi/xd96/config.h22
-rw-r--r--keyboards/xiudi/xd96/keyboard.json (renamed from keyboards/xiudi/xd96/info.json)17
-rw-r--r--keyboards/xiudi/xd96/rules.mk14
3 files changed, 17 insertions, 36 deletions
diff --git a/keyboards/xiudi/xd96/config.h b/keyboards/xiudi/xd96/config.h
index 059b57a0c6..6eb4fc5f58 100644
--- a/keyboards/xiudi/xd96/config.h
+++ b/keyboards/xiudi/xd96/config.h
@@ -16,28 +16,6 @@
#pragma once
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 18
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/xiudi/xd96/info.json b/keyboards/xiudi/xd96/keyboard.json
index 2b4ee4aad0..df1fd1cfd4 100644
--- a/keyboards/xiudi/xd96/info.json
+++ b/keyboards/xiudi/xd96/keyboard.json
@@ -8,6 +8,23 @@
"pid": "0x9696",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "B5",
"levels": 10
diff --git a/keyboards/xiudi/xd96/rules.mk b/keyboards/xiudi/xd96/rules.mk
index 89d05c5487..e11c65db02 100644
--- a/keyboards/xiudi/xd96/rules.mk
+++ b/keyboards/xiudi/xd96/rules.mk
@@ -1,17 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes
-
# custom matrix setup
CUSTOM_MATRIX = lite