From 2da0827d4ffbcba161126d6001f370e97d0172a8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 16:08:25 +1100 Subject: Remove matrix size defines (#19581) --- keyboards/tkc/california/config.h | 4 ---- keyboards/tkc/candybar/lefty/config.h | 3 --- keyboards/tkc/candybar/lefty_r3/config.h | 3 --- keyboards/tkc/candybar/righty/config.h | 3 --- keyboards/tkc/candybar/righty_r3/config.h | 3 --- keyboards/tkc/godspeed75/config.h | 3 --- keyboards/tkc/m0lly/config.h | 4 ---- keyboards/tkc/osav2/config.h | 4 ---- keyboards/tkc/portico/config.h | 4 ---- keyboards/tkc/portico68v2/config.h | 4 ---- keyboards/tkc/portico75/config.h | 4 ---- keyboards/tkc/tkc1800/config.h | 4 ---- keyboards/tkc/tkl_ab87/config.h | 4 ---- 13 files changed, 47 deletions(-) (limited to 'keyboards/tkc') diff --git a/keyboards/tkc/california/config.h b/keyboards/tkc/california/config.h index 864e589c2c..47f6e8fe75 100644 --- a/keyboards/tkc/california/config.h +++ b/keyboards/tkc/california/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 12 -#define MATRIX_COLS 10 - #define DYNAMIC_KEYMAP_LAYER_COUNT 2 //Reduced layer count due to memory space considerations /* diff --git a/keyboards/tkc/candybar/lefty/config.h b/keyboards/tkc/candybar/lefty/config.h index 52242d23c0..ebd4742ee3 100644 --- a/keyboards/tkc/candybar/lefty/config.h +++ b/keyboards/tkc/candybar/lefty/config.h @@ -17,9 +17,6 @@ #pragma once -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 17 #define DIODE_DIRECTION COL2ROW #define MATRIX_ROW_PINS { A8, A9, A10, A13 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14, B15 } diff --git a/keyboards/tkc/candybar/lefty_r3/config.h b/keyboards/tkc/candybar/lefty_r3/config.h index 7b400e12da..a9b8550193 100644 --- a/keyboards/tkc/candybar/lefty_r3/config.h +++ b/keyboards/tkc/candybar/lefty_r3/config.h @@ -17,9 +17,6 @@ #pragma once -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 17 #define DIODE_DIRECTION COL2ROW #define MATRIX_ROW_PINS { F1, F0, D0, D2 } #define MATRIX_COL_PINS { B5, B6, C6, C7, F7, F6, F5, F4, D5, B3, B0, B1, B2, D4, D6, D7, B4 } diff --git a/keyboards/tkc/candybar/righty/config.h b/keyboards/tkc/candybar/righty/config.h index 52242d23c0..ebd4742ee3 100644 --- a/keyboards/tkc/candybar/righty/config.h +++ b/keyboards/tkc/candybar/righty/config.h @@ -17,9 +17,6 @@ #pragma once -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 17 #define DIODE_DIRECTION COL2ROW #define MATRIX_ROW_PINS { A8, A9, A10, A13 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14, B15 } diff --git a/keyboards/tkc/candybar/righty_r3/config.h b/keyboards/tkc/candybar/righty_r3/config.h index 8ad22c2255..5a719c6600 100644 --- a/keyboards/tkc/candybar/righty_r3/config.h +++ b/keyboards/tkc/candybar/righty_r3/config.h @@ -17,9 +17,6 @@ #pragma once -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 17 #define DIODE_DIRECTION COL2ROW #define MATRIX_ROW_PINS { F6, F7, D0, D2 } #define MATRIX_COL_PINS { D4, D6, D7, B4, B5, B6, C6, C7, D5, B1, B3, B2, B0, F0, F1, F4, F5 } diff --git a/keyboards/tkc/godspeed75/config.h b/keyboards/tkc/godspeed75/config.h index 09043c1be2..9fb6aa69dd 100644 --- a/keyboards/tkc/godspeed75/config.h +++ b/keyboards/tkc/godspeed75/config.h @@ -17,9 +17,6 @@ #pragma once -/* key matrix size */ -#define MATRIX_ROWS 12 -#define MATRIX_COLS 8 #define DIODE_DIRECTION COL2ROW #define MATRIX_ROW_PINS { A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, A9, A10 } #define MATRIX_COL_PINS { A0, A1, A2, B12, B13, B14, B15, A8 } diff --git a/keyboards/tkc/m0lly/config.h b/keyboards/tkc/m0lly/config.h index 6ac133ad9a..706fcd055c 100644 --- a/keyboards/tkc/m0lly/config.h +++ b/keyboards/tkc/m0lly/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 19 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/tkc/osav2/config.h b/keyboards/tkc/osav2/config.h index c81bd46dc3..0048ce5a07 100644 --- a/keyboards/tkc/osav2/config.h +++ b/keyboards/tkc/osav2/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 10 -#define MATRIX_COLS 8 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/tkc/portico/config.h b/keyboards/tkc/portico/config.h index 302744fa55..97991af340 100644 --- a/keyboards/tkc/portico/config.h +++ b/keyboards/tkc/portico/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 - #define MATRIX_ROW_PINS { B6, C6, C7, F7, D2 } #define MATRIX_COL_PINS { D3, D5, D4, D6, D7, B4, B5, F6, F5, F4, F1, B0, B1, B2, B3 } diff --git a/keyboards/tkc/portico68v2/config.h b/keyboards/tkc/portico68v2/config.h index 5e7c33f94c..27dd9249e7 100644 --- a/keyboards/tkc/portico68v2/config.h +++ b/keyboards/tkc/portico68v2/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 - #define MATRIX_ROW_PINS { B6, C6, C7, F7, D2 } #define MATRIX_COL_PINS { D3, D5, D4, D6, D7, B4, B5, F6, F5, F4, F1, B0, B1, B2, B3 } diff --git a/keyboards/tkc/portico75/config.h b/keyboards/tkc/portico75/config.h index 3678dcc98d..c91329ccd3 100644 --- a/keyboards/tkc/portico75/config.h +++ b/keyboards/tkc/portico75/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 15 - #define MATRIX_ROW_PINS \ { B0, E6, F0, F1, D3, D2 } #define MATRIX_COL_PINS \ diff --git a/keyboards/tkc/tkc1800/config.h b/keyboards/tkc/tkc1800/config.h index b914b9da7b..cca6f67bf0 100644 --- a/keyboards/tkc/tkc1800/config.h +++ b/keyboards/tkc/tkc1800/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 7 -#define MATRIX_COLS 19 - // ROWS: Top to bottom, COLS: Left to right /* Row pin configuration */ diff --git a/keyboards/tkc/tkl_ab87/config.h b/keyboards/tkc/tkl_ab87/config.h index c7f8f12850..e8f8638196 100644 --- a/keyboards/tkc/tkl_ab87/config.h +++ b/keyboards/tkc/tkl_ab87/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 16 - #define DYNAMIC_KEYMAP_LAYER_COUNT 2 //Reduced layer count due to memory space considerations /* -- cgit v1.2.3