aboutsummaryrefslogtreecommitdiff
path: root/keyboards/spaceman
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-15 22:24:10 +0000
committerGitHub <[email protected]>2024-03-15 22:24:10 +0000
commit14990ca5a2d444aa8db62b8faadf11bd5b8b8d75 (patch)
tree8a9c61b0a4dc036c46b2e1cdb90c52b7a384dfc0 /keyboards/spaceman
parent1a903372846f24028431d20bc25e64b4da69da27 (diff)
downloadqmk_firmware-14990ca5a2d444aa8db62b8faadf11bd5b8b8d75.tar.gz
qmk_firmware-14990ca5a2d444aa8db62b8faadf11bd5b8b8d75.zip
Migrate features from rules.mk to data driven - ST (#23286)
Diffstat (limited to 'keyboards/spaceman')
-rw-r--r--keyboards/spaceman/2_milk/keyboard.json (renamed from keyboards/spaceman/2_milk/info.json)9
-rw-r--r--keyboards/spaceman/2_milk/rules.mk12
-rw-r--r--keyboards/spaceman/pancake/rev2/keyboard.json (renamed from keyboards/spaceman/pancake/rev2/info.json)9
-rw-r--r--keyboards/spaceman/pancake/rev2/rules.mk13
-rw-r--r--keyboards/spaceman/yun65/keyboard.json (renamed from keyboards/spaceman/yun65/info.json)8
-rw-r--r--keyboards/spaceman/yun65/rules.mk12
6 files changed, 26 insertions, 37 deletions
diff --git a/keyboards/spaceman/2_milk/info.json b/keyboards/spaceman/2_milk/keyboard.json
index a703c8f890..4fdef6bace 100644
--- a/keyboards/spaceman/2_milk/info.json
+++ b/keyboards/spaceman/2_milk/keyboard.json
@@ -16,6 +16,15 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "features": {
+ "bootmagic": false,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"direct": [
["D4"],
diff --git a/keyboards/spaceman/2_milk/rules.mk b/keyboards/spaceman/2_milk/rules.mk
deleted file mode 100644
index 55f12300d5..0000000000
--- a/keyboards/spaceman/2_milk/rules.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled
-AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
-RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port.
diff --git a/keyboards/spaceman/pancake/rev2/info.json b/keyboards/spaceman/pancake/rev2/keyboard.json
index d92d5a88f6..88bf2a0b9f 100644
--- a/keyboards/spaceman/pancake/rev2/info.json
+++ b/keyboards/spaceman/pancake/rev2/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x5032",
"device_version": "0.0.2"
},
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "oled": true
+ },
"matrix_pins": {
"cols": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["C7", "C6", "B6", "B5"]
diff --git a/keyboards/spaceman/pancake/rev2/rules.mk b/keyboards/spaceman/pancake/rev2/rules.mk
deleted file mode 100644
index a7cc2bfee4..0000000000
--- a/keyboards/spaceman/pancake/rev2/rules.mk
+++ /dev/null
@@ -1,13 +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 = yes # Console for debug
-COMMAND_ENABLE = yes # 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
-OLED_ENABLE = yes
diff --git a/keyboards/spaceman/yun65/info.json b/keyboards/spaceman/yun65/keyboard.json
index 40854c78f3..017de06abb 100644
--- a/keyboards/spaceman/yun65/info.json
+++ b/keyboards/spaceman/yun65/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0x594E",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D5", "B3"],
"rows": ["E6", "D3", "D2", "D1", "D0"]
diff --git a/keyboards/spaceman/yun65/rules.mk b/keyboards/spaceman/yun65/rules.mk
deleted file mode 100644
index e12dc198de..0000000000
--- a/keyboards/spaceman/yun65/rules.mk
+++ /dev/null
@@ -1,12 +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 = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled
-AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
-RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port.