aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hadron
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-04-15 11:19:08 -0700
committerGitHub <noreply@github.com>2024-04-15 19:19:08 +0100
commit2e01b67ecc4e36668098cb1bc4a5b63976d4c94d (patch)
tree2ff0ba984be945b6c9145a1b3650a1a0802ca482 /keyboards/hadron
parent130a2a31a66f17969102f95045fa2dcfac84e01d (diff)
downloadqmk_firmware-2e01b67ecc4e36668098cb1bc4a5b63976d4c94d.tar.gz
qmk_firmware-2e01b67ecc4e36668098cb1bc4a5b63976d4c94d.zip
Data-Driven Keyboard Conversions: H, Part 1 (#23524)
Diffstat (limited to 'keyboards/hadron')
-rw-r--r--keyboards/hadron/ver2/keyboard.json (renamed from keyboards/hadron/ver2/info.json)10
-rw-r--r--keyboards/hadron/ver2/rules.mk13
-rw-r--r--keyboards/hadron/ver3/info.json12
-rw-r--r--keyboards/hadron/ver3/rules.mk16
4 files changed, 21 insertions, 30 deletions
diff --git a/keyboards/hadron/ver2/info.json b/keyboards/hadron/ver2/keyboard.json
index fb1dc102b7..fbb97f1c18 100644
--- a/keyboards/hadron/ver2/info.json
+++ b/keyboards/hadron/ver2/keyboard.json
@@ -27,5 +27,13 @@
"pin": "D4"
},
"processor": "atmega32u4",
- "bootloader": "halfkay"
+ "bootloader": "halfkay",
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "nkro": true,
+ "rgblight": true,
+ "oled": true
+ }
}
diff --git a/keyboards/hadron/ver2/rules.mk b/keyboards/hadron/ver2/rules.mk
deleted file mode 100644
index 188b4696f1..0000000000
--- a/keyboards/hadron/ver2/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
-AUDIO_ENABLE = no # Audio output
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight
-OLED_ENABLE = yes
diff --git a/keyboards/hadron/ver3/info.json b/keyboards/hadron/ver3/info.json
index 381a5dc550..02a75d59eb 100644
--- a/keyboards/hadron/ver3/info.json
+++ b/keyboards/hadron/ver3/info.json
@@ -35,5 +35,17 @@
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "command": true,
+ "nkro": true,
+ "audio": true,
+ "rgblight": true,
+ "haptic": true,
+ "oled": true,
+ "encoder": true
+ },
"board": "QMK_PROTON_C"
}
diff --git a/keyboards/hadron/ver3/rules.mk b/keyboards/hadron/ver3/rules.mk
index edc5fa7d5b..dea510c2ab 100644
--- a/keyboards/hadron/ver3/rules.mk
+++ b/keyboards/hadron/ver3/rules.mk
@@ -1,17 +1 @@
-# Build Options
-# change yes to no to disable
-#
-BACKLIGHT_ENABLE = no
-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 = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-AUDIO_ENABLE = yes
-RGBLIGHT_ENABLE = yes
-RGB_MATRIX_ENABLE = no # once arm_rgb is implemented
-HAPTIC_ENABLE = yes
HAPTIC_DRIVER = drv2605l
-OLED_ENABLE = yes
-ENCODER_ENABLER = yes