Browse Source

Migrate build target markers to keyboard.json - Misc (#23612)

Joel Challis 2 years ago
parent
commit
e9b8929357
45 changed files with 141 additions and 212 deletions
  1. 7 0
      keyboards/converter/usb_usb/info.json
  2. 0 1
      keyboards/converter/usb_usb/matrix.c
  3. 0 13
      keyboards/converter/usb_usb/rules.mk
  4. 7 1
      keyboards/hhkb/ansi/32u2/keyboard.json
  5. 0 2
      keyboards/hhkb/ansi/32u2/rules.mk
  6. 9 1
      keyboards/hhkb/ansi/32u4/keyboard.json
  7. 1 18
      keyboards/hhkb/ansi/rules.mk
  8. 2 0
      keyboards/ibm/model_m/mschwingen/led_ffc/keyboard.json
  9. 0 1
      keyboards/ibm/model_m/mschwingen/led_ffc/rules.mk
  10. 2 0
      keyboards/ibm/model_m/mschwingen/led_wired/keyboard.json
  11. 0 1
      keyboards/ibm/model_m/mschwingen/led_wired/rules.mk
  12. 2 0
      keyboards/ibm/model_m/mschwingen/led_ws2812/keyboard.json
  13. 2 0
      keyboards/ibm/model_m/mschwingen/post_rules.mk
  14. 0 2
      keyboards/ibm/model_m/mschwingen/rules.mk
  15. 8 0
      keyboards/salicylic_acid3/7skb/rev1/keyboard.json
  16. 0 13
      keyboards/salicylic_acid3/7skb/rules.mk
  17. 8 0
      keyboards/salicylic_acid3/getta25/rev1/keyboard.json
  18. 0 14
      keyboards/salicylic_acid3/getta25/rules.mk
  19. 8 0
      keyboards/salicylic_acid3/jisplit89/rev1/keyboard.json
  20. 0 13
      keyboards/salicylic_acid3/jisplit89/rules.mk
  21. 7 0
      keyboards/salicylic_acid3/naked48/rev1/keyboard.json
  22. 0 14
      keyboards/salicylic_acid3/naked48/rules.mk
  23. 6 0
      keyboards/salicylic_acid3/naked60/rev1/keyboard.json
  24. 0 13
      keyboards/salicylic_acid3/naked60/rules.mk
  25. 8 0
      keyboards/salicylic_acid3/naked64/rev1/keyboard.json
  26. 0 15
      keyboards/salicylic_acid3/naked64/rules.mk
  27. 7 0
      keyboards/salicylic_acid3/setta21/rev1/keyboard.json
  28. 0 16
      keyboards/salicylic_acid3/setta21/rules.mk
  29. 5 3
      keyboards/stront/keyboard.json
  30. 0 2
      keyboards/stront/rules.mk
  31. 2 1
      keyboards/teleport/native/info.json
  32. 0 1
      keyboards/teleport/native/rules.mk
  33. 0 1
      keyboards/tkw/grandiceps/rev2/config.h
  34. 8 0
      keyboards/tkw/grandiceps/rev2/keyboard.json
  35. 0 1
      keyboards/tkw/grandiceps/rev2/rules.mk
  36. 9 0
      keyboards/westm/westm68/info.json
  37. 0 13
      keyboards/westm/westm68/rules.mk
  38. 8 0
      keyboards/westm/westm9/info.json
  39. 0 15
      keyboards/westm/westm9/rules.mk
  40. 3 0
      keyboards/woodkeys/meira/featherble/keyboard.json
  41. 0 2
      keyboards/woodkeys/meira/featherble/rules.mk
  42. 12 0
      keyboards/work_louder/loop/info.json
  43. 0 18
      keyboards/work_louder/loop/rules.mk
  44. 10 0
      keyboards/yanghu/unicorne/info.json
  45. 0 17
      keyboards/yanghu/unicorne/rules.mk

+ 7 - 0
keyboards/converter/usb_usb/info.json

@@ -8,6 +8,13 @@
         "pid": "0x005B",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": false,
+        "extrakey": true,
+        "mousekey": false,
+        "nkro": false,
+        "usb_hid": true
+    },
     "processor": "atmega32u4",
     "community_layouts": ["fullsize_ansi", "fullsize_iso", "fullsize_jis"],
     "layouts": {

+ 0 - 1
keyboards/converter/usb_usb/matrix.c

@@ -1 +0,0 @@
-// Intentionally left empty. This file must exist for this board to build.

+ 0 - 13
keyboards/converter/usb_usb/rules.mk

@@ -1,16 +1,3 @@
-# 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 = 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
-USB_HID_ENABLE = yes
 CUSTOM_MATRIX = yes
 
 SRC += custom_matrix.cpp

+ 7 - 1
keyboards/hhkb/ansi/32u2/keyboard.json

@@ -1,4 +1,10 @@
 {
     "processor": "atmega32u2",
-    "bootloader": "atmel-dfu"
+    "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": false
+    }
 }

+ 0 - 2
keyboards/hhkb/ansi/32u2/rules.mk

@@ -1,2 +0,0 @@
-CONSOLE_ENABLE = no   # Console for debug
-COMMAND_ENABLE = no   # Commands for debug and configuration

+ 9 - 1
keyboards/hhkb/ansi/32u4/keyboard.json

@@ -1,4 +1,12 @@
 {
     "processor": "atmega32u4",
-    "bootloader": "atmel-dfu"
+    "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "command": true,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": false
+    }
 }

+ 1 - 18
keyboards/hhkb/ansi/rules.mk

@@ -1,23 +1,6 @@
-# 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 = yes   # Commands for debug and configuration
-CUSTOM_MATRIX = yes    # Custom matrix file for the HHKB
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no  # Enable keyboard backlight functionality
+CUSTOM_MATRIX = yes
 
 # project specific files
 SRC = matrix.c
 
-# debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
-# debug-on: all
-
-# debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT
-# debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS))
-# debug-off: all
-
 DEFAULT_FOLDER = hhkb/ansi/32u4

+ 2 - 0
keyboards/ibm/model_m/mschwingen/led_ffc/keyboard.json

@@ -0,0 +1,2 @@
+{
+}

+ 0 - 1
keyboards/ibm/model_m/mschwingen/led_ffc/rules.mk

@@ -1 +0,0 @@
-# This file intentionally left blank

+ 2 - 0
keyboards/ibm/model_m/mschwingen/led_wired/keyboard.json

@@ -0,0 +1,2 @@
+{
+}

+ 0 - 1
keyboards/ibm/model_m/mschwingen/led_wired/rules.mk

@@ -1 +0,0 @@
-# This file intentionally left blank

+ 2 - 0
keyboards/ibm/model_m/mschwingen/led_ws2812/keyboard.json

@@ -0,0 +1,2 @@
+{
+}

+ 2 - 0
keyboards/ibm/model_m/mschwingen/post_rules.mk

@@ -1,3 +1,5 @@
+UART_DEBUG ?= no
+
 ifeq ($(strip $(UART_DEBUG)), yes)
     OPT_DEFS += -DUART_DEBUG
 endif

+ 0 - 2
keyboards/ibm/model_m/mschwingen/rules.mk

@@ -1,7 +1,5 @@
 CUSTOM_MATRIX = lite
 
-UART_DEBUG = no
-
 SRC += matrix.c
 UART_DRIVER_REQUIRED = yes
 SPI_DRIVER_REQUIRED = yes

+ 8 - 0
keyboards/salicylic_acid3/7skb/rev1/keyboard.json

@@ -8,6 +8,14 @@
         "pid": "0xEB5F",
         "device_version": "0.0.7"
     },
+    "features": {
+        "bootmagic": false,
+        "command": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": false,
+        "rgblight": true
+    },
     "matrix_pins": {
         "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B5"],
         "rows": ["D4", "C6", "D7", "E6", "B4"]

+ 0 - 13
keyboards/salicylic_acid3/7skb/rules.mk

@@ -1,14 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = no         # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-AUDIO_ENABLE = no           # Audio output
-RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
-
 DEFAULT_FOLDER = salicylic_acid3/7skb/rev1

+ 8 - 0
keyboards/salicylic_acid3/getta25/rev1/keyboard.json

@@ -8,6 +8,14 @@
         "pid": "0x3060",
         "device_version": "0.1.3"
     },
+    "features": {
+        "bootmagic": false,
+        "command": true,
+        "extrakey": true,
+        "mousekey": false,
+        "nkro": false,
+        "rgblight": true
+    },
     "rgblight": {
         "hue_steps": 10,
         "led_count": 9,

+ 0 - 14
keyboards/salicylic_acid3/getta25/rules.mk

@@ -1,15 +1 @@
-# 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 = no         # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-AUDIO_ENABLE = no           # Audio output
-RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
-OLED_ENABLE = no
-
 DEFAULT_FOLDER = salicylic_acid3/getta25/rev1

+ 8 - 0
keyboards/salicylic_acid3/jisplit89/rev1/keyboard.json

@@ -8,6 +8,14 @@
         "pid": "0xEB4F",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": true,
+        "command": true,
+        "extrakey": true,
+        "mousekey": false,
+        "nkro": false,
+        "rgblight": true
+    },
     "matrix_pins": {
         "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B5"],
         "rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4"]

+ 0 - 13
keyboards/salicylic_acid3/jisplit89/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 = yes       # Audio control and System control
-CONSOLE_ENABLE = no         # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
 DEFAULT_FOLDER = salicylic_acid3/jisplit89/rev1

+ 7 - 0
keyboards/salicylic_acid3/naked48/rev1/keyboard.json

@@ -8,6 +8,13 @@
         "pid": "0xE8BA",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": false,
+        "rgblight": true
+    },
     "rgb_matrix": {
         "driver": "ws2812"
     },

+ 0 - 14
keyboards/salicylic_acid3/naked48/rules.mk

@@ -1,15 +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 = 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 = yes       # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-RGB_MATRIX_ENABLE = no
-
 DEFAULT_FOLDER = salicylic_acid3/naked48/rev1

+ 6 - 0
keyboards/salicylic_acid3/naked60/rev1/keyboard.json

@@ -8,6 +8,12 @@
         "pid": "0xEB5C",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": false
+    },
     "matrix_pins": {
         "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D7", "E6", "B4", "B5", "D3"],
         "rows": ["B6", "D1", "D0", "D4", "C6"]

+ 0 - 13
keyboards/salicylic_acid3/naked60/rules.mk

@@ -1,14 +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 = 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
-
 DEFAULT_FOLDER = salicylic_acid3/naked60/rev1

+ 8 - 0
keyboards/salicylic_acid3/naked64/rev1/keyboard.json

@@ -8,6 +8,14 @@
         "pid": "0x3060",
         "device_version": "0.0.3"
     },
+    "features": {
+        "bootmagic": false,
+        "command": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": false,
+        "rgblight": true
+    },
     "matrix_pins": {
         "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D3"],
         "rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]

+ 0 - 15
keyboards/salicylic_acid3/naked64/rules.mk

@@ -1,16 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes        # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = no         # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-AUDIO_ENABLE = no           # Audio output
-RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
-OLED_ENABLE = no
-USE_I2C = no
-
 DEFAULT_FOLDER = salicylic_acid3/naked64/rev1

+ 7 - 0
keyboards/salicylic_acid3/setta21/rev1/keyboard.json

@@ -8,6 +8,13 @@
         "pid": "0x3060",
         "device_version": "0.1.1"
     },
+    "features": {
+        "bootmagic": false,
+        "extrakey": false,
+        "mousekey": false,
+        "nkro": false,
+        "rgblight": true
+    },
     "rgblight": {
         "hue_steps": 10,
         "led_count": 21,

+ 0 - 16
keyboards/salicylic_acid3/setta21/rules.mk

@@ -1,17 +1 @@
-# 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
-AUDIO_ENABLE = no           # Audio output
-RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
-OLED_ENABLE = no
-USE_I2C = no
-RGB_MATRIX_ENABLE = no
-
 DEFAULT_FOLDER = salicylic_acid3/setta21/rev1

+ 5 - 3
keyboards/stront/keyboard.json

@@ -80,13 +80,15 @@
         ]
     },
     "features": {
+        "backlight": true,
         "bootmagic": true,
         "console": false,
         "encoder": true,
-        "backlight": true,
         "extrakey": true,
-        "rgb_matrix": true,
-        "nkro": false
+        "nkro": false,
+        "pointing_device": true,
+        "quantum_painter": true,
+        "rgb_matrix": true
     },
     "backlight": {
         "pin": "GP14"

+ 0 - 2
keyboards/stront/rules.mk

@@ -1,9 +1,7 @@
 SERIAL_DRIVER = vendor
 
-POINTING_DEVICE_ENABLE = yes
 POINTING_DEVICE_DRIVER = cirque_pinnacle_spi
 
-QUANTUM_PAINTER_ENABLE = yes
 QUANTUM_PAINTER_DRIVERS += st7789_spi
 QUANTUM_PAINTER_LVGL_INTEGRATION = yes
 

+ 2 - 1
keyboards/teleport/native/info.json

@@ -38,7 +38,8 @@
         "console": false,
         "extrakey": true,
         "mousekey": true,
-        "nkro": true
+        "nkro": true,
+        "rgb_matrix": true
     },
     "diode_direction": "ROW2COL",
     "matrix_pins": {

+ 0 - 1
keyboards/teleport/native/rules.mk

@@ -1,4 +1,3 @@
-RGB_MATRIX_ENABLE = yes
 RGB_MATRIX_CUSTOM_KB = yes
 
 DEFAULT_FOLDER = teleport/native/iso

+ 0 - 1
keyboards/tkw/grandiceps/rev2/config.h

@@ -15,5 +15,4 @@
  */
 #pragma once
 
-#define SPLIT_HAND_PIN B3
 #define EEPROM_I2C_24LC64

+ 8 - 0
keyboards/tkw/grandiceps/rev2/keyboard.json

@@ -5,5 +5,13 @@
     },
     "eeprom": {
         "driver": "i2c"
+    },
+    "features": {
+        "pointing_device": true
+    },
+    "split": {
+        "handedness": {
+            "pin": "B3"
+        }
     }
 }

+ 0 - 1
keyboards/tkw/grandiceps/rev2/rules.mk

@@ -1,2 +1 @@
-POINTING_DEVICE_ENABLE = yes
 POINTING_DEVICE_DRIVER = pimoroni_trackball

+ 9 - 0
keyboards/westm/westm68/info.json

@@ -7,6 +7,15 @@
         "vid": "0x574D",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": true,
+        "command": true,
+        "console": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "rgblight": true
+    },
     "matrix_pins": {
         "cols": ["B14", "B13", "B12", "B11", "B10", "B2", "B1", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],
         "rows": ["A13", "B9", "F1", "A10", "A9"]

+ 0 - 13
keyboards/westm/westm68/rules.mk

@@ -1,17 +1,4 @@
 # 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 = yes        # Commands for debug and configuration
-NKRO_ENABLE = yes           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
 DEFAULT_FOLDER = westm/westm68/rev2

+ 8 - 0
keyboards/westm/westm9/info.json

@@ -7,6 +7,14 @@
         "vid": "0x574D",
         "device_version": "0.0.1"
     },
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "oled": true,
+        "rgblight": true
+    },
     "matrix_pins": {
         "cols": ["B8", "B5", "B4"],
         "rows": ["A14", "A15", "B3"]

+ 0 - 15
keyboards/westm/westm9/rules.mk

@@ -1,19 +1,4 @@
 # 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 = 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 = yes       # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-OLED_ENABLE = yes			# Enable the OLED feature
-
 DEFAULT_FOLDER = westm/westm9/rev2

+ 3 - 0
keyboards/woodkeys/meira/featherble/keyboard.json

@@ -3,5 +3,8 @@
     "bootloader": "caterina",
     "bluetooth": {
         "driver": "bluefruit_le"
+    },
+    "features": {
+        "bluetooth": true
     }
 }

+ 0 - 2
keyboards/woodkeys/meira/featherble/rules.mk

@@ -1,4 +1,2 @@
 # Processor frequency
 F_CPU = 8000000
-
-BLUETOOTH_ENABLE = yes

+ 12 - 0
keyboards/work_louder/loop/info.json

@@ -8,6 +8,18 @@
         "pid": "0x1DF9",
         "max_power": 100
     },
+    "build": {
+        "lto": true
+    },
+    "features": {
+        "bootmagic": true,
+        "encoder": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true,
+        "rgb_matrix": true,
+        "rgblight": true
+    },
     "rgb_matrix": {
         "animations": {
             "alphas_mods": true,

+ 0 - 18
keyboards/work_louder/loop/rules.mk

@@ -1,21 +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 = yes       # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-ENCODER_ENABLE = yes
-LTO_ENABLE = yes
-
-RGB_MATRIX_ENABLE = yes
-LTO_ENABLE = yes
-
 SRC += rgb_functions.c
 
 DEFAULT_FOLDER = work_louder/loop/rev3

+ 10 - 0
keyboards/yanghu/unicorne/info.json

@@ -8,6 +8,16 @@
     "pid": "0x0204",
     "device_version": "0.0.1"
   },
+  "features": {
+    "audio": true,
+    "bootmagic": false,
+    "encoder": true,
+    "extrakey": true,
+    "mousekey": true,
+    "nkro": true,
+    "oled": true,
+    "rgblight": true
+  },
   "rgblight": {
     "led_count": 8,
     "animations": {

+ 0 - 17
keyboards/yanghu/unicorne/rules.mk

@@ -1,20 +1,3 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # 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 = yes       # Enable keyboard RGB underglow
-AUDIO_ENABLE = yes          # Audio output
-ENCODER_ENABLE = yes
-OLED_ENABLE = yes
-
 AUDIO_DRIVER = pwm_hardware
 
-RGB_MATRIX_ENABLE = no # Do not enable with RGBLIGHT
-
 DEFAULT_FOLDER = yanghu/unicorne/f411