aboutsummaryrefslogtreecommitdiff
path: root/keyboards/playkbtw
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/playkbtw
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/playkbtw')
-rw-r--r--keyboards/playkbtw/helen80/keyboard.json (renamed from keyboards/playkbtw/helen80/info.json)12
-rw-r--r--keyboards/playkbtw/helen80/rules.mk15
-rw-r--r--keyboards/playkbtw/pk64rgb/keyboard.json (renamed from keyboards/playkbtw/pk64rgb/info.json)13
-rw-r--r--keyboards/playkbtw/pk64rgb/rules.mk16
4 files changed, 25 insertions, 31 deletions
diff --git a/keyboards/playkbtw/helen80/info.json b/keyboards/playkbtw/helen80/keyboard.json
index 95cbde6010..47f7e48ef6 100644
--- a/keyboards/playkbtw/helen80/info.json
+++ b/keyboards/playkbtw/helen80/keyboard.json
@@ -8,6 +8,18 @@
"pid": "0x4845",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["D1", "D0", "F7", "F6", "F5", "D5", "D3", "D2", "C7", "C6", "B5", "F4", "F1", "B4", "B0"],
"rows": ["E6", "B7", "D4", "F0", "D6", "D7"]
diff --git a/keyboards/playkbtw/helen80/rules.mk b/keyboards/playkbtw/helen80/rules.mk
deleted file mode 100644
index 86bda7a9c0..0000000000
--- a/keyboards/playkbtw/helen80/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 = yes # 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
-
-KEY_LOCK_ENABLE = no
diff --git a/keyboards/playkbtw/pk64rgb/info.json b/keyboards/playkbtw/pk64rgb/keyboard.json
index ee2849f14f..d3a757d714 100644
--- a/keyboards/playkbtw/pk64rgb/info.json
+++ b/keyboards/playkbtw/pk64rgb/keyboard.json
@@ -14,6 +14,19 @@
"led_process_limit": 20,
"max_brightness": 160
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "rgblight": true,
+ "rgb_matrix": true
+ },
"matrix_pins": {
"cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7"],
"rows": ["D7", "D6", "D5", "D3", "D2"]
diff --git a/keyboards/playkbtw/pk64rgb/rules.mk b/keyboards/playkbtw/pk64rgb/rules.mk
deleted file mode 100644
index f199d19d31..0000000000
--- a/keyboards/playkbtw/pk64rgb/rules.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # 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 = yes # Enable keyboard RGB underglow
-RGB_MATRIX_ENABLE = yes # Use RGB matrix
-
-AUDIO_ENABLE = no # Audio output
-
-LTO_ENABLE = yes \ No newline at end of file