diff options
author | Joel Challis <[email protected]> | 2024-03-30 10:43:15 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-30 10:43:15 +0000 |
commit | 426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch) | |
tree | fbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/tg4x | |
parent | 86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff) | |
download | qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.tar.gz qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.zip |
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/tg4x')
-rw-r--r-- | keyboards/tg4x/keyboard.json (renamed from keyboards/tg4x/info.json) | 12 | ||||
-rw-r--r-- | keyboards/tg4x/rules.mk | 14 |
2 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/tg4x/info.json b/keyboards/tg4x/keyboard.json index 6931f3565f..d108774dfd 100644 --- a/keyboards/tg4x/info.json +++ b/keyboards/tg4x/keyboard.json @@ -29,6 +29,18 @@ "ws2812": { "pin": "D2" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D3", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1"] diff --git a/keyboards/tg4x/rules.mk b/keyboards/tg4x/rules.mk deleted file mode 100644 index dcad20d05a..0000000000 --- a/keyboards/tg4x/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -LTO_ENABLE = yes |