aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/hhkb
diff options
context:
space:
mode:
authorJames Young2024-04-15 20:19:08 +0200
committerGitHub2024-04-15 20:19:08 +0200
commit2e01b67ecc4e36668098cb1bc4a5b63976d4c94d (patch)
tree2ff0ba984be945b6c9145a1b3650a1a0802ca482 /keyboards/hhkb
parent130a2a31a66f17969102f95045fa2dcfac84e01d (diff)
Data-Driven Keyboard Conversions: H, Part 1 (#23524)
Diffstat (limited to 'keyboards/hhkb')
-rw-r--r--keyboards/hhkb/jp/info.json7
-rw-r--r--keyboards/hhkb/jp/rules.mk7
-rw-r--r--keyboards/hhkb/yang/info.json6
-rw-r--r--keyboards/hhkb/yang/rules.mk10
4 files changed, 13 insertions, 17 deletions
diff --git a/keyboards/hhkb/jp/info.json b/keyboards/hhkb/jp/info.json
index 589cf98dde..d745f21d20 100644
--- a/keyboards/hhkb/jp/info.json
+++ b/keyboards/hhkb/jp/info.json
@@ -10,6 +10,13 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "console": true,
+ "command": true
+ },
"layouts": {
"LAYOUT_jp": {
"layout": [
diff --git a/keyboards/hhkb/jp/rules.mk b/keyboards/hhkb/jp/rules.mk
index 5c65964341..9e74e1cfb9 100644
--- a/keyboards/hhkb/jp/rules.mk
+++ b/keyboards/hhkb/jp/rules.mk
@@ -1,14 +1,7 @@
# 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 = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
CUSTOM_MATRIX = yes # Custom matrix file for the HHKB
-NKRO_ENABLE = no # Enable N-Key Rollover
-# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
# project specific files
SRC = matrix.c
diff --git a/keyboards/hhkb/yang/info.json b/keyboards/hhkb/yang/info.json
index 24cd750e09..a5725d6afa 100644
--- a/keyboards/hhkb/yang/info.json
+++ b/keyboards/hhkb/yang/info.json
@@ -16,6 +16,12 @@
},
"processor": "atmega32u4",
"bootloader": "lufa-ms",
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "command": true
+ },
"debounce": 0,
"community_layouts": ["60_hhkb"],
"layouts": {
diff --git a/keyboards/hhkb/yang/rules.mk b/keyboards/hhkb/yang/rules.mk
index 99f77d0c16..d8acce0a36 100644
--- a/keyboards/hhkb/yang/rules.mk
+++ b/keyboards/hhkb/yang/rules.mk
@@ -1,16 +1,6 @@
# MCU frequency
F_CPU = 8000000
-# 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 = yes # Commands for debug and configuration
-NKRO_ENABLE = no # USB Nkey Rollover
-
# Custom matrix file for the HHKB
CUSTOM_MATRIX = lite
SRC += matrix.c