aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hhkb/ansi
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hhkb/ansi')
-rw-r--r--keyboards/hhkb/ansi/32u2/info.json4
-rw-r--r--keyboards/hhkb/ansi/32u2/keyboard.json10
-rw-r--r--keyboards/hhkb/ansi/32u2/rules.mk2
-rw-r--r--keyboards/hhkb/ansi/32u4/info.json4
-rw-r--r--keyboards/hhkb/ansi/32u4/keyboard.json12
-rw-r--r--keyboards/hhkb/ansi/32u4/rules.mk0
-rw-r--r--keyboards/hhkb/ansi/rules.mk19
7 files changed, 23 insertions, 28 deletions
diff --git a/keyboards/hhkb/ansi/32u2/info.json b/keyboards/hhkb/ansi/32u2/info.json
deleted file mode 100644
index dd190d18ee..0000000000
--- a/keyboards/hhkb/ansi/32u2/info.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "processor": "atmega32u2",
- "bootloader": "atmel-dfu"
-}
diff --git a/keyboards/hhkb/ansi/32u2/keyboard.json b/keyboards/hhkb/ansi/32u2/keyboard.json
new file mode 100644
index 0000000000..d210808d98
--- /dev/null
+++ b/keyboards/hhkb/ansi/32u2/keyboard.json
@@ -0,0 +1,10 @@
+{
+ "processor": "atmega32u2",
+ "bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ }
+}
diff --git a/keyboards/hhkb/ansi/32u2/rules.mk b/keyboards/hhkb/ansi/32u2/rules.mk
deleted file mode 100644
index 95a1d66061..0000000000
--- a/keyboards/hhkb/ansi/32u2/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
diff --git a/keyboards/hhkb/ansi/32u4/info.json b/keyboards/hhkb/ansi/32u4/info.json
deleted file mode 100644
index 042c41f34d..0000000000
--- a/keyboards/hhkb/ansi/32u4/info.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "processor": "atmega32u4",
- "bootloader": "atmel-dfu"
-}
diff --git a/keyboards/hhkb/ansi/32u4/keyboard.json b/keyboards/hhkb/ansi/32u4/keyboard.json
new file mode 100644
index 0000000000..1e47ddd20f
--- /dev/null
+++ b/keyboards/hhkb/ansi/32u4/keyboard.json
@@ -0,0 +1,12 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ }
+}
diff --git a/keyboards/hhkb/ansi/32u4/rules.mk b/keyboards/hhkb/ansi/32u4/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/hhkb/ansi/32u4/rules.mk
+++ /dev/null
diff --git a/keyboards/hhkb/ansi/rules.mk b/keyboards/hhkb/ansi/rules.mk
index f5a147ccb9..841565b846 100644
--- a/keyboards/hhkb/ansi/rules.mk
+++ b/keyboards/hhkb/ansi/rules.mk
@@ -1,23 +1,6 @@
-# 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 = no # Enable keyboard backlight functionality
+CUSTOM_MATRIX = yes
# project specific files
SRC = matrix.c
-# debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
-# debug-on: all
-
-# debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT
-# debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS))
-# debug-off: all
-
DEFAULT_FOLDER = hhkb/ansi/32u4