aboutsummaryrefslogtreecommitdiff
path: root/keyboards/p3d/glitch
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-15 22:24:00 +0000
committerGitHub <[email protected]>2024-03-15 22:24:00 +0000
commit1a903372846f24028431d20bc25e64b4da69da27 (patch)
treed628946d38d303f98f24c14db6b3cdd85f7397bb /keyboards/p3d/glitch
parent24d824aae40b932dbcdc5036d7f30a6f2f352442 (diff)
downloadqmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.tar.gz
qmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.zip
Migrate features from rules.mk to data driven - OPQR (#23285)
Diffstat (limited to 'keyboards/p3d/glitch')
-rw-r--r--keyboards/p3d/glitch/keyboard.json (renamed from keyboards/p3d/glitch/info.json)11
-rw-r--r--keyboards/p3d/glitch/rules.mk14
2 files changed, 11 insertions, 14 deletions
diff --git a/keyboards/p3d/glitch/info.json b/keyboards/p3d/glitch/keyboard.json
index e7858124e2..366707f807 100644
--- a/keyboards/p3d/glitch/info.json
+++ b/keyboards/p3d/glitch/keyboard.json
@@ -9,6 +9,17 @@
"device_version": "0.0.1",
"max_power": 400
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "oled": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["B2", "D2", "B3", "B7", "F5", "F4", "F1", "F0"],
"rows": ["D5", "D6", "B6", "D7", "C7", "B4", "B5", "D3", "D4", "C6"]
diff --git a/keyboards/p3d/glitch/rules.mk b/keyboards/p3d/glitch/rules.mk
deleted file mode 100644
index 65ecff135b..0000000000
--- a/keyboards/p3d/glitch/rules.mk
+++ /dev/null
@@ -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 = 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