summaryrefslogtreecommitdiff
path: root/keyboards/spaceman
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-03-15 22:24:10 +0000
committerGitHub <noreply@github.com>2024-03-15 22:24:10 +0000
commit14990ca5a2d444aa8db62b8faadf11bd5b8b8d75 (patch)
tree8a9c61b0a4dc036c46b2e1cdb90c52b7a384dfc0 /keyboards/spaceman
parent1a903372846f24028431d20bc25e64b4da69da27 (diff)
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 @@
16 }, 16 },
17 "processor": "atmega32u4", 17 "processor": "atmega32u4",
18 "bootloader": "caterina", 18 "bootloader": "caterina",
19 "features": {
20 "bootmagic": false,
21 "command": true,
22 "console": true,
23 "extrakey": true,
24 "mousekey": false,
25 "nkro": true,
26 "rgblight": true
27 },
19 "matrix_pins": { 28 "matrix_pins": {
20 "direct": [ 29 "direct": [
21 ["D4"], 30 ["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 @@
1# Build Options
2# change yes to no to disable
3#
4BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
5MOUSEKEY_ENABLE = no # Mouse keys
6EXTRAKEY_ENABLE = yes # Audio control and System control
7CONSOLE_ENABLE = yes # Console for debug
8COMMAND_ENABLE = yes # Commands for debug and configuration
9NKRO_ENABLE = yes # Enable N-Key Rollover
10BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled
11AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
12RGBLIGHT_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 @@
8 "pid": "0x5032", 8 "pid": "0x5032",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "features": {
12 "bootmagic": true,
13 "command": true,
14 "console": true,
15 "extrakey": true,
16 "mousekey": false,
17 "nkro": true,
18 "oled": true
19 },
11 "matrix_pins": { 20 "matrix_pins": {
12 "cols": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"], 21 "cols": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"],
13 "rows": ["C7", "C6", "B6", "B5"] 22 "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 @@
1# Build Options
2# change yes to no to disable
3#
4BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
5MOUSEKEY_ENABLE = no # Mouse keys
6EXTRAKEY_ENABLE = yes # Audio control and System control
7CONSOLE_ENABLE = yes # Console for debug
8COMMAND_ENABLE = yes # Commands for debug and configuration
9NKRO_ENABLE = yes # Enable N-Key Rollover
10BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
11RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
12AUDIO_ENABLE = no # Audio output
13OLED_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 @@
8 "pid": "0x594E", 8 "pid": "0x594E",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "features": {
12 "bootmagic": true,
13 "command": true,
14 "console": true,
15 "extrakey": true,
16 "mousekey": false,
17 "nkro": true
18 },
11 "matrix_pins": { 19 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D5", "B3"], 20 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D5", "B3"],
13 "rows": ["E6", "D3", "D2", "D1", "D0"] 21 "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 @@
1# Build Options
2# change yes to no to disable
3#
4BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
5MOUSEKEY_ENABLE = no # Mouse keys
6EXTRAKEY_ENABLE = yes # Audio control and System control
7CONSOLE_ENABLE = yes # Console for debug
8COMMAND_ENABLE = yes # Commands for debug and configuration
9NKRO_ENABLE = yes # Enable N-Key Rollover
10BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled
11AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
12RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port.