aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keybage
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-30 10:43:15 +0000
committerGitHub <[email protected]>2024-03-30 10:43:15 +0000
commit426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch)
treefbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/keybage
parent86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff)
downloadqmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.tar.gz
qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.zip
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/keybage')
-rw-r--r--keyboards/keybage/radpad/keyboard.json (renamed from keyboards/keybage/radpad/info.json)14
-rw-r--r--keyboards/keybage/radpad/rules.mk15
2 files changed, 14 insertions, 15 deletions
diff --git a/keyboards/keybage/radpad/info.json b/keyboards/keybage/radpad/keyboard.json
index 4ee89e9b18..84407a9310 100644
--- a/keyboards/keybage/radpad/info.json
+++ b/keyboards/keybage/radpad/keyboard.json
@@ -8,6 +8,20 @@
"pid": "0x5250",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "oled": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["E6", "B4", "D7", "B1"],
"rows": ["F5", "B5", "B6", "B2", "B3"]
diff --git a/keyboards/keybage/radpad/rules.mk b/keyboards/keybage/radpad/rules.mk
deleted file mode 100644
index f1e31ddbdc..0000000000
--- a/keyboards/keybage/radpad/rules.mk
+++ /dev/null
@@ -1,15 +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 = no # 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
-OLED_ENABLE = yes
-LTO_ENABLE = yes