aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hadron
diff options
context:
space:
mode:
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/keyboard.json (renamed from keyboards/hadron/ver3/info.json)15
-rw-r--r--keyboards/hadron/ver3/rules.mk17
4 files changed, 24 insertions, 31 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/keyboard.json
index 381a5dc550..f3e4bba06f 100644
--- a/keyboards/hadron/ver3/info.json
+++ b/keyboards/hadron/ver3/keyboard.json
@@ -15,6 +15,9 @@
{"pin_a": "B13", "pin_b": "B14"}
]
},
+ "haptic": {
+ "driver": "drv2605l"
+ },
"rgblight": {
"led_count": 10,
"animations": {
@@ -35,5 +38,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
deleted file mode 100644
index edc5fa7d5b..0000000000
--- a/keyboards/hadron/ver3/rules.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# 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