summaryrefslogtreecommitdiff
path: root/keyboards/8pack
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/8pack')
-rw-r--r--keyboards/8pack/config.h12
-rw-r--r--keyboards/8pack/info.json6
2 files changed, 6 insertions, 12 deletions
diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h
index ddd88f1303..a9564f1bcf 100644
--- a/keyboards/8pack/config.h
+++ b/keyboards/8pack/config.h
@@ -1,23 +1,11 @@
#pragma once
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* key matrix size */
-#define MATRIX_ROWS 2
-#define MATRIX_COLS 4
-
-/* key matrix pins */
-
-#define DIRECT_PINS { { F4, F5, F6, F7 }, { B1, B3, B2, B6 } }
-
#define BACKLIGHT_LED_COUNT 8
#undef BACKLIGHT_PIN
#define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json
index 4520540642..fa33b2644f 100644
--- a/keyboards/8pack/info.json
+++ b/keyboards/8pack/info.json
@@ -9,6 +9,12 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["F4", "F5", "F6", "F7"],
+ ["B1", "B3", "B2", "B6"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [