aboutsummaryrefslogtreecommitdiff
path: root/keyboards/qpockets
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/qpockets
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/qpockets')
-rw-r--r--keyboards/qpockets/eggman/keyboard.json (renamed from keyboards/qpockets/eggman/info.json)9
-rw-r--r--keyboards/qpockets/eggman/rules.mk14
-rw-r--r--keyboards/qpockets/wanten/keyboard.json (renamed from keyboards/qpockets/wanten/info.json)9
-rw-r--r--keyboards/qpockets/wanten/rules.mk13
4 files changed, 18 insertions, 27 deletions
diff --git a/keyboards/qpockets/eggman/info.json b/keyboards/qpockets/eggman/keyboard.json
index 16b0ebe42a..32cb76fc88 100644
--- a/keyboards/qpockets/eggman/info.json
+++ b/keyboards/qpockets/eggman/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x656D",
"device_version": "10.0.0"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["B7", "B4", "B3", "B2", "D3", "D2", "D1"],
"rows": ["C4", "C5", "C2", "D0", "B5", "B6", "D6"]
diff --git a/keyboards/qpockets/eggman/rules.mk b/keyboards/qpockets/eggman/rules.mk
deleted file mode 100644
index c473e6a78e..0000000000
--- a/keyboards/qpockets/eggman/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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-
diff --git a/keyboards/qpockets/wanten/info.json b/keyboards/qpockets/wanten/keyboard.json
index df1798db24..86bfe02300 100644
--- a/keyboards/qpockets/wanten/info.json
+++ b/keyboards/qpockets/wanten/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x7774",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["F4", "F1", "B5", "B6", "C6", "C7", "D4", "E6", "D2", "B1", "B2", "D3"],
"rows": ["F0", "F7", "B3", "D5"]
diff --git a/keyboards/qpockets/wanten/rules.mk b/keyboards/qpockets/wanten/rules.mk
deleted file mode 100644
index f0a88209b6..0000000000
--- a/keyboards/qpockets/wanten/rules.mk
+++ /dev/null
@@ -1,13 +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
-ENCODER_ENABLE = yes \ No newline at end of file