aboutsummaryrefslogtreecommitdiff
path: root/keyboards/p3d
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
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')
-rw-r--r--keyboards/p3d/eu_isolation/keyboard.json (renamed from keyboards/p3d/eu_isolation/info.json)8
-rw-r--r--keyboards/p3d/eu_isolation/rules.mk12
-rw-r--r--keyboards/p3d/glitch/keyboard.json (renamed from keyboards/p3d/glitch/info.json)11
-rw-r--r--keyboards/p3d/glitch/rules.mk14
-rw-r--r--keyboards/p3d/q4z/keyboard.json (renamed from keyboards/p3d/q4z/info.json)8
-rw-r--r--keyboards/p3d/q4z/rules.mk12
-rw-r--r--keyboards/p3d/spacey/keyboard.json (renamed from keyboards/p3d/spacey/info.json)9
-rw-r--r--keyboards/p3d/spacey/rules.mk13
-rw-r--r--keyboards/p3d/synapse/keyboard.json (renamed from keyboards/p3d/synapse/info.json)9
-rw-r--r--keyboards/p3d/synapse/rules.mk13
-rw-r--r--keyboards/p3d/tw40/keyboard.json (renamed from keyboards/p3d/tw40/info.json)9
-rw-r--r--keyboards/p3d/tw40/rules.mk12
12 files changed, 54 insertions, 76 deletions
diff --git a/keyboards/p3d/eu_isolation/info.json b/keyboards/p3d/eu_isolation/keyboard.json
index f181418cf0..a94ee990ad 100644
--- a/keyboards/p3d/eu_isolation/info.json
+++ b/keyboards/p3d/eu_isolation/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0x4373",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": false,
+ "command": false,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4"],
"rows": ["D2", "D3", "F1", "F0"]
diff --git a/keyboards/p3d/eu_isolation/rules.mk b/keyboards/p3d/eu_isolation/rules.mk
deleted file mode 100644
index 20825c8cfa..0000000000
--- a/keyboards/p3d/eu_isolation/rules.mk
+++ /dev/null
@@ -1,12 +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 = yes # 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
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
diff --git a/keyboards/p3d/q4z/info.json b/keyboards/p3d/q4z/keyboard.json
index dc02296131..0b71df61b3 100644
--- a/keyboards/p3d/q4z/info.json
+++ b/keyboards/p3d/q4z/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["D1", "D0", "D4", "B6", "B2", "B3", "B1", "F7", "F6", "F5"],
"rows": ["F4", "C6", "D7", "E6", "B4"]
diff --git a/keyboards/p3d/q4z/rules.mk b/keyboards/p3d/q4z/rules.mk
deleted file mode 100644
index 6d3709762d..0000000000
--- a/keyboards/p3d/q4z/rules.mk
+++ /dev/null
@@ -1,12 +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
diff --git a/keyboards/p3d/spacey/info.json b/keyboards/p3d/spacey/keyboard.json
index 289eff730f..d51e1dc32c 100644
--- a/keyboards/p3d/spacey/info.json
+++ b/keyboards/p3d/spacey/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x2045",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["D5", "B7", "B5", "B4", "E6", "D7", "C7", "B3", "B2", "B6", "F0", "F1", "B1", "F7"],
"rows": ["D4", "C6", "F6", "F5", "F4"]
diff --git a/keyboards/p3d/spacey/rules.mk b/keyboards/p3d/spacey/rules.mk
deleted file mode 100644
index b03b6fa905..0000000000
--- a/keyboards/p3d/spacey/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 = no # 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/p3d/synapse/info.json b/keyboards/p3d/synapse/keyboard.json
index 85659dc8a5..277be632a5 100644
--- a/keyboards/p3d/synapse/info.json
+++ b/keyboards/p3d/synapse/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x5359",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["F0", "D4", "F5", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "B6"],
"rows": ["E6", "B0", "F4", "F1"]
diff --git a/keyboards/p3d/synapse/rules.mk b/keyboards/p3d/synapse/rules.mk
deleted file mode 100644
index ebe0d0e0e3..0000000000
--- a/keyboards/p3d/synapse/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
diff --git a/keyboards/p3d/tw40/info.json b/keyboards/p3d/tw40/keyboard.json
index 79f3d7fbaa..356b610b2a 100644
--- a/keyboards/p3d/tw40/info.json
+++ b/keyboards/p3d/tw40/keyboard.json
@@ -26,6 +26,15 @@
"ws2812": {
"pin": "E6"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["B0", "D5", "D3", "D2"]
diff --git a/keyboards/p3d/tw40/rules.mk b/keyboards/p3d/tw40/rules.mk
deleted file mode 100644
index 2eba275490..0000000000
--- a/keyboards/p3d/tw40/rules.mk
+++ /dev/null
@@ -1,12 +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