summaryrefslogtreecommitdiff
path: root/keyboards/yynmt/acperience12
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-14 18:39:41 +1100
committerGitHub <noreply@github.com>2023-02-14 00:39:41 -0700
commit2cdf99ae950a82e233482347651b7689c4896827 (patch)
treef26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/yynmt/acperience12
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
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": [