Browse Source

Migrate build target markers to keyboard.json - X (#23460)

Joel Challis 2 years ago
parent
commit
45b710f9e1
70 changed files with 272 additions and 609 deletions
  1. 7 0
      keyboards/xbows/woody/keyboard.json
  2. 0 12
      keyboards/xbows/woody/rules.mk
  3. 6 0
      keyboards/xelus/dawn60/info.json
  4. 0 5
      keyboards/xelus/dawn60/rev1/config.h
  5. 6 0
      keyboards/xelus/dawn60/rev1/keyboard.json
  6. 1 16
      keyboards/xelus/dawn60/rev1/rules.mk
  7. 0 5
      keyboards/xelus/dawn60/rev1_qmk/config.h
  8. 11 0
      keyboards/xelus/dawn60/rev1_qmk/keyboard.json
  9. 2 21
      keyboards/xelus/dawn60/rev1_qmk/rules.mk
  10. 0 27
      keyboards/xelus/la_plus/config.h
  11. 17 0
      keyboards/xelus/la_plus/keyboard.json
  12. 0 15
      keyboards/xelus/la_plus/rules.mk
  13. 20 0
      keyboards/xelus/pachi/rgb/info.json
  14. 0 6
      keyboards/xelus/pachi/rgb/rev1/config.h
  15. 0 0
      keyboards/xelus/pachi/rgb/rev1/keyboard.json
  16. 0 16
      keyboards/xelus/pachi/rgb/rev1/rules.mk
  17. 0 6
      keyboards/xelus/pachi/rgb/rev2/config.h
  18. 0 0
      keyboards/xelus/pachi/rgb/rev2/keyboard.json
  19. 0 15
      keyboards/xelus/pachi/rgb/rev2/rules.mk
  20. 0 6
      keyboards/xelus/rs108/config.h
  21. 17 1
      keyboards/xelus/rs108/keyboard.json
  22. 0 16
      keyboards/xelus/rs108/rules.mk
  23. 6 0
      keyboards/xelus/rs60/info.json
  24. 0 22
      keyboards/xelus/rs60/rev1/config.h
  25. 0 6
      keyboards/xelus/rs60/rev2_0/config.h
  26. 12 1
      keyboards/xelus/rs60/rev2_0/keyboard.json
  27. 0 16
      keyboards/xelus/rs60/rev2_0/rules.mk
  28. 0 23
      keyboards/xelus/rs60/rev2_1/config.h
  29. 12 1
      keyboards/xelus/rs60/rev2_1/keyboard.json
  30. 0 16
      keyboards/xelus/rs60/rev2_1/rules.mk
  31. 0 22
      keyboards/xelus/trinityxttkl/config.h
  32. 13 0
      keyboards/xelus/trinityxttkl/keyboard.json
  33. 0 14
      keyboards/xelus/trinityxttkl/rules.mk
  34. 8 0
      keyboards/xelus/valor/info.json
  35. 0 23
      keyboards/xelus/valor/rev1/config.h
  36. 0 6
      keyboards/xelus/valor/rev2/config.h
  37. 10 0
      keyboards/xelus/valor/rev2/keyboard.json
  38. 0 14
      keyboards/xelus/valor/rev2/rules.mk
  39. 6 0
      keyboards/xelus/valor_frl_tkl/info.json
  40. 0 6
      keyboards/xelus/valor_frl_tkl/rev1/config.h
  41. 0 6
      keyboards/xelus/valor_frl_tkl/rev2_0/config.h
  42. 12 1
      keyboards/xelus/valor_frl_tkl/rev2_0/keyboard.json
  43. 0 14
      keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk
  44. 0 6
      keyboards/xelus/valor_frl_tkl/rev2_1/config.h
  45. 12 1
      keyboards/xelus/valor_frl_tkl/rev2_1/keyboard.json
  46. 0 14
      keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk
  47. 0 6
      keyboards/xelus/xs60/hotswap/config.h
  48. 0 0
      keyboards/xelus/xs60/hotswap/keyboard.json
  49. 0 15
      keyboards/xelus/xs60/hotswap/rules.mk
  50. 19 0
      keyboards/xelus/xs60/info.json
  51. 0 6
      keyboards/xelus/xs60/soldered/config.h
  52. 0 0
      keyboards/xelus/xs60/soldered/keyboard.json
  53. 0 15
      keyboards/xelus/xs60/soldered/rules.mk
  54. 0 31
      keyboards/xenon/config.h
  55. 15 0
      keyboards/xenon/keyboard.json
  56. 0 14
      keyboards/xenon/rules.mk
  57. 0 16
      keyboards/xiaomi/mk02/config.h
  58. 2 0
      keyboards/xiaomi/mk02/keyboard.json
  59. 1 14
      keyboards/xiaomi/mk02/rules.mk
  60. 10 0
      keyboards/xiudi/xd002/keyboard.json
  61. 1 24
      keyboards/xiudi/xd002/rules.mk
  62. 0 22
      keyboards/xiudi/xd84/config.h
  63. 17 0
      keyboards/xiudi/xd84/keyboard.json
  64. 0 14
      keyboards/xiudi/xd84/rules.mk
  65. 0 22
      keyboards/xiudi/xd96/config.h
  66. 17 0
      keyboards/xiudi/xd96/keyboard.json
  67. 0 14
      keyboards/xiudi/xd96/rules.mk
  68. 0 4
      keyboards/xw60/config.h
  69. 12 0
      keyboards/xw60/keyboard.json
  70. 0 13
      keyboards/xw60/rules.mk

+ 7 - 0
keyboards/xbows/woody/info.json → keyboards/xbows/woody/keyboard.json

@@ -8,6 +8,13 @@
         "pid": "0x1224",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "rgb_matrix": true
+    },
     "rgb_matrix": {
         "animations": {
             "alphas_mods": true,

+ 0 - 12
keyboards/xbows/woody/rules.mk

@@ -1,12 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-BACKLIGHT_ENABLE = no
-MOUSEKEY_ENABLE = yes              # 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 = yes           # Enable N-Key Rollover
-AUDIO_ENABLE = no
-RGB_MATRIX_ENABLE = yes            # Use RGB matrix

+ 6 - 0
keyboards/xelus/dawn60/info.json

@@ -8,6 +8,12 @@
         "pid": "0x0060",
         "device_version": "0.0.1"
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
     "layout_aliases": {

+ 0 - 5
keyboards/xelus/dawn60/rev1/config.h

@@ -20,11 +20,6 @@
 #define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_SDA
 #define IS31FL3731_LED_COUNT 64
 
-// 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.

+ 6 - 0
keyboards/xelus/dawn60/rev1/info.json → keyboards/xelus/dawn60/rev1/keyboard.json

@@ -1,4 +1,10 @@
 {
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": false,
+        "nkro": true
+    },
     "ws2812": {
         "pin": "F0"
     },

+ 1 - 16
keyboards/xelus/dawn60/rev1/rules.mk

@@ -3,27 +3,12 @@
 # backlight effects.
 OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
 
-# 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 = yes           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-AUDIO_ENABLE = no           # Audio output
-RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight. - We have custom RGB underglow
-
 CIE1931_CURVE = yes
+I2C_DRIVER_REQUIRED = yes
 WS2812_DRIVER_REQUIRED = yes
 
-
 # project specific files
 SRC +=	keyboards/wilba_tech/wt_main.c \
 		keyboards/wilba_tech/wt_rgb_backlight.c \
 		quantum/color.c \
 		drivers/led/issi/is31fl3731.c
-
-I2C_DRIVER_REQUIRED = yes

+ 0 - 5
keyboards/xelus/dawn60/rev1_qmk/config.h

@@ -15,11 +15,6 @@
  */
 #pragma once
 
-// 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
-
 //RGB Underglow defines
 #define WS2812_LED_TOTAL 20
 

+ 11 - 0
keyboards/xelus/dawn60/rev1_qmk/info.json → keyboards/xelus/dawn60/rev1_qmk/keyboard.json

@@ -1,4 +1,15 @@
 {
+    "build": {
+        "lto": true
+    },
+    "features": {
+        "bootmagic": true,
+        "console": true,
+        "extrakey": true,
+        "mousekey": false,
+        "nkro": true,
+        "rgb_matrix": true
+    },
     "ws2812": {
         "pin": "F0"
     },

+ 2 - 21
keyboards/xelus/dawn60/rev1_qmk/rules.mk

@@ -3,28 +3,9 @@
 # backlight effects.
 OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
 
-# 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 = yes        # 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
-FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches
-RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight. - We have custom RGB underglow
-
-RGB_MATRIX_ENABLE = yes     # Enable RGB matrix effects.
+I2C_DRIVER_REQUIRED = yes
 WS2812_DRIVER_REQUIRED = yes
 
-COMMON_VPATH += $(DRIVER_PATH)/issi
-
 # project specific files
+COMMON_VPATH += $(DRIVER_PATH)/issi
 SRC +=  drivers/led/issi/is31fl3731.c
-
-I2C_DRIVER_REQUIRED = yes
-
-LTO_ENABLE = yes

+ 0 - 27
keyboards/xelus/la_plus/config.h

@@ -1,27 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-/* 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
-
-// Custom Startup Animation
-// comment out for solid animation
-// #define STARTUP_ANIMATION_DOTS

+ 17 - 0
keyboards/xelus/la_plus/info.json → keyboards/xelus/la_plus/keyboard.json

@@ -8,6 +8,23 @@
         "pid": "0x4C50",
         "device_version": "0.0.1"
     },
+    "build": {
+        "lto": true
+    },
+    "features": {
+        "bootmagic": true,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "rgb_matrix": true
+    },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "ws2812": {
         "pin": "F1"
     },

+ 0 - 15
keyboards/xelus/la_plus/rules.mk

@@ -1,16 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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
-
-RGB_MATRIX_ENABLE = yes
 RGB_MATRIX_CUSTOM_KB = yes
-
-LTO_ENABLE = yes

+ 20 - 0
keyboards/xelus/pachi/rgb/info.json

@@ -0,0 +1,20 @@
+{
+    "build": {
+        "lto": true
+    },
+    "features": {
+        "bootmagic": true,
+        "command": false,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "rgb_matrix": true
+    },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    }
+}

+ 0 - 6
keyboards/xelus/pachi/rgb/rev1/config.h

@@ -16,12 +16,6 @@
 
 #pragma once
 
-/* 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
-
 // I2C setup
 #define I2C1_SCL_PIN        B8
 #define I2C1_SDA_PIN        B9

+ 0 - 0
keyboards/xelus/pachi/rgb/rev1/info.json → keyboards/xelus/pachi/rgb/rev1/keyboard.json


+ 0 - 16
keyboards/xelus/pachi/rgb/rev1/rules.mk

@@ -1,20 +1,4 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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
-FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches
-
-RGB_MATRIX_ENABLE = yes
-
 COMMON_VPATH += $(DRIVER_PATH)/issi
 SRC += drivers/led/issi/is31fl3741.c
 
-LTO_ENABLE = yes
 OPT = 2

+ 0 - 6
keyboards/xelus/pachi/rgb/rev2/config.h

@@ -16,12 +16,6 @@
 
 #pragma once
 
-/* 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
-
 // I2C setup
 #define I2C1_SCL_PIN        B6
 #define I2C1_SDA_PIN        B7

+ 0 - 0
keyboards/xelus/pachi/rgb/rev2/info.json → keyboards/xelus/pachi/rgb/rev2/keyboard.json


+ 0 - 15
keyboards/xelus/pachi/rgb/rev2/rules.mk

@@ -1,19 +1,4 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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
-
-RGB_MATRIX_ENABLE = yes
-
 COMMON_VPATH += $(DRIVER_PATH)/issi
 SRC += drivers/led/issi/is31fl3741.c
 
-LTO_ENABLE = yes
 OPT = 2

+ 0 - 6
keyboards/xelus/rs108/config.h

@@ -15,12 +15,6 @@
  */
 #pragma once
 
-// 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
-
 // I2C config
 #define I2C1_SCL_PIN        B8
 #define I2C1_SDA_PIN        B9

+ 17 - 1
keyboards/xelus/rs108/info.json → keyboards/xelus/rs108/keyboard.json

@@ -7,7 +7,23 @@
         "vid": "0x5845",
         "pid": "0x5208",
         "device_version": "0.0.2",
-        "force_nkro": true
+        "force_nkro": true,
+        "shared_endpoint": {
+            "keyboard": true
+        }
+    },
+    "features": {
+        "bootmagic": true,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
+    },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
     },
     "matrix_pins": {
         "cols": ["A10", "A8", "B15", "B14", "B13", "B12", "B1", "B10", "B4", "B3", "A15"],

+ 0 - 16
keyboards/xelus/rs108/rules.mk

@@ -1,16 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-# Save hid interface
-KEYBOARD_SHARED_EP = yes
-

+ 6 - 0
keyboards/xelus/rs60/info.json

@@ -7,5 +7,11 @@
         "vid": "0x5845",
         "pid": "0x5253"
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "community_layouts": ["60_ansi_split_bs_rshift", "60_ansi", "60_ansi_tsangan", "60_tsangan_hhkb"]
 }

+ 0 - 22
keyboards/xelus/rs60/rev1/config.h

@@ -1,22 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#pragma once
-
-// 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

+ 0 - 6
keyboards/xelus/rs60/rev2_0/config.h

@@ -15,12 +15,6 @@
  */
 #pragma once
 
-// 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
-
 // I2C config
 #define I2C1_SCL_PIN        B8
 #define I2C1_SDA_PIN        B9

+ 12 - 1
keyboards/xelus/rs60/rev2_0/info.json → keyboards/xelus/rs60/rev2_0/keyboard.json

@@ -1,7 +1,18 @@
 {
     "usb": {
         "device_version": "0.2.0",
-        "force_nkro": true
+        "force_nkro": true,
+        "shared_endpoint": {
+            "keyboard": true
+        }
+    },
+    "features": {
+        "bootmagic": true,
+        "command": false,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
     },
     "matrix_pins": {
         "cols": ["B13", "A7", "A6", "A5", "A4", "A3", "A2", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],

+ 0 - 16
keyboards/xelus/rs60/rev2_0/rules.mk

@@ -1,16 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-# Save hid interface
-KEYBOARD_SHARED_EP = yes
-

+ 0 - 23
keyboards/xelus/rs60/rev2_1/config.h

@@ -1,23 +0,0 @@
-/* Copyright 2022 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#pragma once
-
-// 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
-

+ 12 - 1
keyboards/xelus/rs60/rev2_1/info.json → keyboards/xelus/rs60/rev2_1/keyboard.json

@@ -1,7 +1,18 @@
 {
     "usb": {
         "device_version": "0.2.1",
-        "force_nkro": true
+        "force_nkro": true,
+        "shared_endpoint": {
+            "keyboard": true
+        }
+    },
+    "features": {
+        "bootmagic": true,
+        "command": false,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
     },
     "matrix_pins": {
         "cols": ["B13", "A7", "A6", "A5", "A4", "A3", "A2", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],

+ 0 - 16
keyboards/xelus/rs60/rev2_1/rules.mk

@@ -1,16 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-# Save hid interface
-KEYBOARD_SHARED_EP = yes
-

+ 0 - 22
keyboards/xelus/trinityxttkl/config.h

@@ -1,22 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-/* 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

+ 13 - 0
keyboards/xelus/trinityxttkl/info.json → keyboards/xelus/trinityxttkl/keyboard.json

@@ -8,6 +8,19 @@
         "pid": "0x5854",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": true,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
+    },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A10", "B9", "B4"],
         "rows": ["A14", "A15", "B3", "A2", "B6", "B5"]

+ 0 - 14
keyboards/xelus/trinityxttkl/rules.mk

@@ -1,16 +1,2 @@
 # Wildcard to allow APM32 MCU
 DFU_SUFFIX_ARGS = -v FFFF -p FFFF
-
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes   # Mouse keys
-EXTRAKEY_ENABLE = yes   # Audio control and System control
-CONSOLE_ENABLE = yes    # Console for debug
-COMMAND_ENABLE = no     # Commands for debug and configuration
-NKRO_ENABLE = yes           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no
-RGBLIGHT_ENABLE = no
-
-

+ 8 - 0
keyboards/xelus/valor/info.json

@@ -0,0 +1,8 @@
+{
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    }
+}

+ 0 - 23
keyboards/xelus/valor/rev1/config.h

@@ -1,23 +0,0 @@
-/* Copyright 2020 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-/* 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

+ 0 - 6
keyboards/xelus/valor/rev2/config.h

@@ -16,12 +16,6 @@
 
 #pragma once
 
-/* 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
-
 // I2C setup
 #define I2C1_SCL_PIN        B8
 #define I2C1_SDA_PIN        B9

+ 10 - 0
keyboards/xelus/valor/rev2/info.json → keyboards/xelus/valor/rev2/keyboard.json

@@ -8,6 +8,16 @@
         "pid": "0x5653",
         "device_version": "0.0.1"
     },
+    "build": {
+        "lto": true
+    },
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "rgb_matrix": true
+    },
     "ws2812": {
         "pin": "A9",
         "driver": "pwm"

+ 0 - 14
keyboards/xelus/valor/rev2/rules.mk

@@ -1,17 +1,3 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # 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 = yes           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-RGB_MATRIX_ENABLE = yes
 RGB_MATRIX_CUSTOM_KB = yes
 
 OPT = 2
-LTO_ENABLE = yes

+ 6 - 0
keyboards/xelus/valor_frl_tkl/info.json

@@ -6,6 +6,12 @@
         "vid": "0x5845",
         "pid": "0x4654"
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "layout_aliases": {
         "LAYOUT_all": "LAYOUT_ansi_split_bs_rshift"
     },

+ 0 - 6
keyboards/xelus/valor_frl_tkl/rev1/config.h

@@ -16,12 +16,6 @@
 
 #pragma once
 
-/* 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
-
 // I2C OLED defines
 #define I2C1_SCL_PIN B8
 #define I2C1_SDA_PIN B9

+ 0 - 6
keyboards/xelus/valor_frl_tkl/rev2_0/config.h

@@ -16,10 +16,4 @@
 
 #pragma once
 
-/* 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
-
 #define STM32_HSECLK 16000000

+ 12 - 1
keyboards/xelus/valor_frl_tkl/rev2_0/info.json → keyboards/xelus/valor_frl_tkl/rev2_0/keyboard.json

@@ -1,7 +1,18 @@
 {
     "keyboard_name": "Valor FRL TKL Rev2.0",
     "usb": {
-        "device_version": "0.0.2"
+        "device_version": "0.0.2",
+        "shared_endpoint": {
+            "keyboard": true
+        }
+    },
+    "features": {
+        "bootmagic": true,
+        "command": false,
+        "console": false,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
     },
     "matrix_pins": {
         "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B9", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0"],

+ 0 - 14
keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk

@@ -1,14 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # 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 = yes           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-KEYBOARD_SHARED_EP = yes

+ 0 - 6
keyboards/xelus/valor_frl_tkl/rev2_1/config.h

@@ -16,10 +16,4 @@
 
 #pragma once
 
-/* 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
-
 #define STM32_HSECLK 16000000

+ 12 - 1
keyboards/xelus/valor_frl_tkl/rev2_1/info.json → keyboards/xelus/valor_frl_tkl/rev2_1/keyboard.json

@@ -1,7 +1,18 @@
 {
     "keyboard_name": "Valor FRL TKL Rev2.2",
     "usb": {
-        "device_version": "0.0.3"
+        "device_version": "0.0.3",
+        "shared_endpoint": {
+            "keyboard": true
+        }
+    },
+    "features": {
+        "bootmagic": true,
+        "command": false,
+        "console": false,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
     },
     "matrix_pins": {
         "cols": ["A10", "A8", "B15", "B14", "B13", "B12", "B9", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0"],

+ 0 - 14
keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk

@@ -1,14 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # 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 = yes           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-KEYBOARD_SHARED_EP = yes

+ 0 - 6
keyboards/xelus/xs60/hotswap/config.h

@@ -16,12 +16,6 @@
 
 #pragma once
 
-/* 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
-
 // I2C setup
 #define I2C1_SCL_PAL_MODE   4
 #define I2C1_SDA_PAL_MODE   4

+ 0 - 0
keyboards/xelus/xs60/hotswap/info.json → keyboards/xelus/xs60/hotswap/keyboard.json


+ 0 - 15
keyboards/xelus/xs60/hotswap/rules.mk

@@ -1,16 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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 = yes
-
-LTO_ENABLE = yes
 OPT = 2

+ 19 - 0
keyboards/xelus/xs60/info.json

@@ -0,0 +1,19 @@
+{
+    "build": {
+        "lto": true
+    },
+    "features": {
+        "bootmagic": true,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "rgblight": true
+    },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    }
+}

+ 0 - 6
keyboards/xelus/xs60/soldered/config.h

@@ -16,12 +16,6 @@
 
 #pragma once
 
-/* 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
-
 // I2C setup
 #define I2C1_SCL_PAL_MODE   4
 #define I2C1_SDA_PAL_MODE   4

+ 0 - 0
keyboards/xelus/xs60/soldered/info.json → keyboards/xelus/xs60/soldered/keyboard.json


+ 0 - 15
keyboards/xelus/xs60/soldered/rules.mk

@@ -1,16 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # 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 = yes
-
-LTO_ENABLE = yes
 OPT = 2

+ 0 - 31
keyboards/xenon/config.h

@@ -1,31 +0,0 @@
-/*
-Copyright 2020 Kyrre Havik Eriksen
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* 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
-
-#ifdef OLED_ENABLE
-  #define OLED_DISPLAY_128X32
-#endif
-
-// If you are using an Elite C rev3 on the slave side, uncomment the lines below:
-// #define SPLIT_USB_DETECT
-// #define NO_USB_STARTUP_CHECK

+ 15 - 0
keyboards/xenon/info.json → keyboards/xenon/keyboard.json

@@ -8,6 +8,21 @@
     "pid": "0x3404",
     "device_version": "0.0.1"
   },
+  "features": {
+    "bootmagic": false,
+    "console": true,
+    "encoder": true,
+    "extrakey": true,
+    "mousekey": false,
+    "nkro": false,
+    "oled": true
+  },
+  "qmk": {
+    "locking": {
+        "enabled": true,
+        "resync": true
+    }
+  },
   "matrix_pins": {
     "cols": ["B2", "B3", "B1", "F7", "F6", "F5", "F4"],
     "rows": ["D4", "C6", "D7", "E6", "B4"]

+ 0 - 14
keyboards/xenon/rules.mk

@@ -1,14 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no        # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # Console for debug
-COMMAND_ENABLE = no         # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-OLED_ENABLE = yes
-ENCODER_ENABLE = yes

+ 0 - 16
keyboards/xiaomi/mk02/config.h

@@ -18,19 +18,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #pragma once
 
 #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
-
-/*
- * 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

+ 2 - 0
keyboards/xiaomi/mk02/info.json → keyboards/xiaomi/mk02/keyboard.json

@@ -8,6 +8,8 @@
         "pid": "0x0B91",
         "device_version": "0.0.1"
     },
+    "processor": "STM32F072",
+    "bootloader": "custom",
     "matrix_pins": {
         "cols": ["B13", "B14", "B15", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "C14", "C15", "B11", "A1", "A2", "B12"],
         "rows": ["A3", "A4", "A5", "A6", "A7", "B0"]

+ 1 - 14
keyboards/xiaomi/mk02/rules.mk

@@ -1,19 +1,6 @@
-# MCU name
-MCU = STM32F072
+# custom bootloader
 BOARD = ST_STM32F072B_DISCOVERY
 MCU_LDSCRIPT = STM32F072_0x2000_bootloader
 
-# Bootloader selection
-BOOTLOADER = custom
-
 DFU_ARGS = -d 0483:df11 -a 0 -s 0x08002000:leave
 DFU_SUFFIX_ARGS = -v 0483 -p DF11
-
-BOOTMAGIC_ENABLE = no       # 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 = no            # Enable N-Key Rollover
-# BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
-RGBLIGHT_ENABLE = no

+ 10 - 0
keyboards/xiudi/xd002/info.json → keyboards/xiudi/xd002/keyboard.json

@@ -8,6 +8,16 @@
     "pid": "0x0202",
     "device_version": "0.0.1"
   },
+  "processor": "attiny85",
+  "bootloader": "custom",
+  "build": {
+    "lto": true
+  },
+  "features": {
+    "grave_esc": false,
+    "magic": false,
+    "space_cadet": false
+  },
   "rgblight": {
     "led_count": 2
   },

+ 1 - 24
keyboards/xiudi/xd002/rules.mk

@@ -1,26 +1,3 @@
-# MCU name
-MCU = attiny85
-
-# Bootloader selection
-BOOTLOADER = custom
+# custom bootloader
 OPT_DEFS += -DBOOTLOADER_SIZE=1862
 PROGRAM_CMD = micronucleus --run $(BUILD_DIR)/$(TARGET).hex
-
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # 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 = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-# Save as much space as we can...
-LTO_ENABLE = yes
-GRAVE_ESC_ENABLE = no
-MAGIC_ENABLE = no
-SPACE_CADET_ENABLE = no

+ 0 - 22
keyboards/xiudi/xd84/config.h

@@ -16,28 +16,6 @@
 
 #pragma once
 
-
 /* key matrix size */
 #define MATRIX_ROWS 6
 #define MATRIX_COLS 15
-
-/* 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

+ 17 - 0
keyboards/xiudi/xd84/info.json → keyboards/xiudi/xd84/keyboard.json

@@ -8,6 +8,23 @@
         "pid": "0x8484",
         "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,

+ 0 - 14
keyboards/xiudi/xd84/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
 

+ 0 - 22
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

+ 17 - 0
keyboards/xiudi/xd96/info.json → 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

+ 0 - 14
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
 

+ 0 - 4
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

+ 12 - 0
keyboards/xw60/info.json → 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"]

+ 0 - 13
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