summaryrefslogtreecommitdiffstats
path: root/keyboards/kinesis/kint2pp
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 04:59:07 +1100
committerGitHub <noreply@github.com>2023-03-11 04:59:07 +1100
commit1022afa6c24a64c78d1c9be99a695ff5335876f7 (patch)
treed5891c76ad09f9c0177ef11753796e31f6cfbc19 /keyboards/kinesis/kint2pp
parent4b1f0e8daa8cfacbbc3cdc22653e2bc1458cea96 (diff)
Move matrix config to info.json, part 8 (#20030)
Diffstat (limited to 'keyboards/kinesis/kint2pp')
-rw-r--r--keyboards/kinesis/kint2pp/config.h17
-rw-r--r--keyboards/kinesis/kint2pp/info.json5
2 files changed, 5 insertions, 17 deletions
diff --git a/keyboards/kinesis/kint2pp/config.h b/keyboards/kinesis/kint2pp/config.h
index c9d69dbf48..aa87459cd4 100644
--- a/keyboards/kinesis/kint2pp/config.h
+++ b/keyboards/kinesis/kint2pp/config.h
@@ -1,22 +1,5 @@
#pragma once
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
-*/
-#define MATRIX_ROW_PINS { D7, E0, E1, C0, C6, F6, D4, D2, D3, D0, B7, D1, E6, B4, B2 }
-#define MATRIX_COL_PINS { E7, F0, F7, B1, B3, B0, D5 }
-
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
#define IGNORE_MOD_TAP_INTERRUPT
// The Teensy 2++ consumes about 60 mA of current at its full speed of 16 MHz as
diff --git a/keyboards/kinesis/kint2pp/info.json b/keyboards/kinesis/kint2pp/info.json
index 9619fe05b6..66d27b5f98 100644
--- a/keyboards/kinesis/kint2pp/info.json
+++ b/keyboards/kinesis/kint2pp/info.json
@@ -6,6 +6,11 @@
"pid": "0x6060",
"device_version": "0.0.2"
},
+ "matrix_pins": {
+ "cols": ["E7", "F0", "F7", "B1", "B3", "B0", "D5"],
+ "rows": ["D7", "E0", "E1", "C0", "C6", "F6", "D4", "D2", "D3", "D0", "B7", "D1", "E6", "B4", "B2"]
+ },
+ "diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "C1",
"num_lock": "C5",