diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 04:59:07 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 04:59:07 +1100 |
commit | 1022afa6c24a64c78d1c9be99a695ff5335876f7 (patch) | |
tree | d5891c76ad09f9c0177ef11753796e31f6cfbc19 /keyboards/kinesis/kintlc | |
parent | 4b1f0e8daa8cfacbbc3cdc22653e2bc1458cea96 (diff) |
Move matrix config to info.json, part 8 (#20030)
Diffstat (limited to 'keyboards/kinesis/kintlc')
-rw-r--r-- | keyboards/kinesis/kintlc/config.h | 44 | ||||
-rw-r--r-- | keyboards/kinesis/kintlc/info.json | 5 |
2 files changed, 5 insertions, 44 deletions
diff --git a/keyboards/kinesis/kintlc/config.h b/keyboards/kinesis/kintlc/config.h index 1939ac4e57..c1699c2d6d 100644 --- a/keyboards/kinesis/kintlc/config.h +++ b/keyboards/kinesis/kintlc/config.h @@ -16,50 +16,6 @@ #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 \ - { \ - LINE_PIN8, /* ROW_EQL */ \ - LINE_PIN9, /* ROW_1 */ \ - LINE_PIN10, /* ROW_2 */ \ - LINE_PIN11, /* ROW_3 */ \ - LINE_PIN7, /* ROW_4 */ \ - LINE_PIN16, /* ROW_5 */ \ - LINE_PIN5, /* ROW_6 */ \ - LINE_PIN3, /* ROW_7 */ \ - LINE_PIN4, /* ROW_8 */ \ - LINE_PIN1, /* ROW_9 */ \ - LINE_PIN0, /* ROW_0 */ \ - LINE_PIN2, /* ROW_MIN */ \ - LINE_PIN17, /* ROW_ESC */ \ - LINE_PIN23, /* ROW_F1 */ \ - LINE_PIN21 /* ROW_F2 */ \ - } - -#define MATRIX_COL_PINS \ - { \ - LINE_PIN18, /* COL_0 */ \ - LINE_PIN14, /* COL_1 */ \ - LINE_PIN15, /* COL_2 */ \ - LINE_PIN20, /* COL_3 */ \ - LINE_PIN22, /* COL_4 */ \ - LINE_PIN19, /* COL_5 */ \ - LINE_PIN6 /* COL_6 */ \ - } - - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - #define IGNORE_MOD_TAP_INTERRUPT // The Teensy LC power consumption is unknown as per diff --git a/keyboards/kinesis/kintlc/info.json b/keyboards/kinesis/kintlc/info.json index 7309fc778f..2bbbd3eb30 100644 --- a/keyboards/kinesis/kintlc/info.json +++ b/keyboards/kinesis/kintlc/info.json @@ -6,6 +6,11 @@ "pid": "0x345C", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"], + "rows": ["LINE_PIN8", "LINE_PIN9", "LINE_PIN10", "LINE_PIN11", "LINE_PIN7", "LINE_PIN16", "LINE_PIN5", "LINE_PIN3", "LINE_PIN4", "LINE_PIN1", "LINE_PIN0", "LINE_PIN2", "LINE_PIN17", "LINE_PIN23", "LINE_PIN21"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "LINE_PIN12", "scroll_lock": "LINE_PIN25", |