summaryrefslogtreecommitdiff
path: root/keyboards/yynmt/acperience12
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yynmt/acperience12')
-rw-r--r--keyboards/yynmt/acperience12/rev1/config.h6
-rw-r--r--keyboards/yynmt/acperience12/rev1/info.json10
2 files changed, 10 insertions, 6 deletions
diff --git a/keyboards/yynmt/acperience12/rev1/config.h b/keyboards/yynmt/acperience12/rev1/config.h
index fb94abb5da..65a752a97f 100644
--- a/keyboards/yynmt/acperience12/rev1/config.h
+++ b/keyboards/yynmt/acperience12/rev1/config.h
@@ -16,12 +16,6 @@
#pragma once
-/* key matrix size */
-#define MATRIX_ROWS 6
-#define MATRIX_COLS 2
-
-#define DIRECT_PINS { { B5, D0 }, { B4, D1 }, { B3, D2 }, { B2, D3 }, { B1, D4 }, { B0, D5 } }
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/yynmt/acperience12/rev1/info.json b/keyboards/yynmt/acperience12/rev1/info.json
index 3d8bf426ba..20d4f249c2 100644
--- a/keyboards/yynmt/acperience12/rev1/info.json
+++ b/keyboards/yynmt/acperience12/rev1/info.json
@@ -10,6 +10,16 @@
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
+ "matrix_pins": {
+ "direct": [
+ ["B5", "D0"],
+ ["B4", "D1"],
+ ["B3", "D2"],
+ ["B2", "D3"],
+ ["B1", "D4"],
+ ["B0", "D5"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [