summaryrefslogtreecommitdiff
path: root/keyboards/hhkb_lite_2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hhkb_lite_2')
-rw-r--r--keyboards/hhkb_lite_2/config.h12
-rw-r--r--keyboards/hhkb_lite_2/info.json5
-rw-r--r--keyboards/hhkb_lite_2/rules.mk6
3 files changed, 5 insertions, 18 deletions
diff --git a/keyboards/hhkb_lite_2/config.h b/keyboards/hhkb_lite_2/config.h
index c264169d5b..8e2163885b 100644
--- a/keyboards/hhkb_lite_2/config.h
+++ b/keyboards/hhkb_lite_2/config.h
@@ -1,10 +1,5 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 8
-#define MATRIX_COLS 14
/* key matrix pins */
#define MATRIX_ROW_PINS { F5, F4, F1, F0, B0, B1, B2, B3 }
@@ -12,10 +7,3 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
-/* Bootmagic keys are non-standard because of matrix */
-#define BOOTMAGIC_LITE_ROW 5
-#define BOOTMAGIC_LITE_COLUMN 9
diff --git a/keyboards/hhkb_lite_2/info.json b/keyboards/hhkb_lite_2/info.json
index bceac58ba4..1051663c30 100644
--- a/keyboards/hhkb_lite_2/info.json
+++ b/keyboards/hhkb_lite_2/info.json
@@ -8,6 +8,11 @@
"pid": "0x88B2",
"device_version": "0.0.2"
},
+ "bootmagic": {
+ "matrix": [5, 9]
+ },
+ "processor": "atmega32u4",
+ "bootloader": "halfkay",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/hhkb_lite_2/rules.mk b/keyboards/hhkb_lite_2/rules.mk
index 005769e43a..11e507797b 100644
--- a/keyboards/hhkb_lite_2/rules.mk
+++ b/keyboards/hhkb_lite_2/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = halfkay
-
# Build Options
# change yes to no to disable
#