summaryrefslogtreecommitdiff
path: root/keyboards/kinesis/kintlc
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kinesis/kintlc')
-rw-r--r--keyboards/kinesis/kintlc/config.h46
-rw-r--r--keyboards/kinesis/kintlc/info.json5
2 files changed, 5 insertions, 46 deletions
diff --git a/keyboards/kinesis/kintlc/config.h b/keyboards/kinesis/kintlc/config.h
index 1939ac4e57..a5610a4c8c 100644
--- a/keyboards/kinesis/kintlc/config.h
+++ b/keyboards/kinesis/kintlc/config.h
@@ -16,52 +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
// https://www.pjrc.com/store/teensylc.html but since
// https://www.pjrc.com/store/teensy41.html says 100mA, let's go with half.
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",