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/acheron/apollo/87h/delta/config.h | 4 ---- keyboards/acheron/apollo/87h/gamma/config.h | 4 ---- keyboards/acheron/apollo/87htsc/config.h | 4 ---- keyboards/acheron/apollo/88htsc/config.h | 4 ---- keyboards/acheron/arctic/config.h | 4 ---- keyboards/acheron/athena/alpha/config.h | 3 --- keyboards/acheron/athena/beta/config.h | 3 --- keyboards/acheron/austin/config.h | 4 ---- keyboards/acheron/elongate/beta/config.h | 4 ---- keyboards/acheron/elongate/delta/config.h | 3 --- keyboards/acheron/keebspcb/config.h | 4 ---- keyboards/acheron/lasgweloth/config.h | 4 ---- keyboards/acheron/shark/alpha/config.h | 4 ---- keyboards/acheron/shark/beta/config.h | 3 --- 14 files changed, 52 deletions(-) (limited to 'keyboards/acheron') diff --git a/keyboards/acheron/apollo/87h/delta/config.h b/keyboards/acheron/apollo/87h/delta/config.h index 5874b50665..490c13c2e9 100644 --- a/keyboards/acheron/apollo/87h/delta/config.h +++ b/keyboards/acheron/apollo/87h/delta/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 17 - // C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 , C9 , C10, C11, C12, C13, C14, C15, C16 } #define MATRIX_COL_PINS { C8 , C9 , A8 , A10, C7 , C6 , B14, B12, B10, B1 , C5 , C4 , A7 , B0 , C11, A3 , B4 } // R0 , R1 , R2 , R3 , R4 , R5 diff --git a/keyboards/acheron/apollo/87h/gamma/config.h b/keyboards/acheron/apollo/87h/gamma/config.h index db57281877..07da517e24 100644 --- a/keyboards/acheron/apollo/87h/gamma/config.h +++ b/keyboards/acheron/apollo/87h/gamma/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 16 - // C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 , C9 , C10, C11, C12, C13, C14, C15 } #define MATRIX_COL_PINS { B3 , A15, A10, A8 , B14, B12, B10, B1 , B0 , A7 , A4 , A5 , A6 , C15, A0 , A1 } // R0 , R1 , R2 , R3 , R4 , R5 diff --git a/keyboards/acheron/apollo/87htsc/config.h b/keyboards/acheron/apollo/87htsc/config.h index 226deba17d..8b61b285fd 100644 --- a/keyboards/acheron/apollo/87htsc/config.h +++ b/keyboards/acheron/apollo/87htsc/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 17 - // C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 , C9 , C10, C11, C12, C13, C14, C15, C16 } #define MATRIX_COL_PINS { C8 , C9 , A8 , A10, C7 , C6 , B14, B12, B10, B1 , C5 , C4 , A7 , B0 , C11, A3 , B4 } // R0 , R1 , R2 , R3 , R4 , R5 diff --git a/keyboards/acheron/apollo/88htsc/config.h b/keyboards/acheron/apollo/88htsc/config.h index 5874b50665..490c13c2e9 100644 --- a/keyboards/acheron/apollo/88htsc/config.h +++ b/keyboards/acheron/apollo/88htsc/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 17 - // C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 , C9 , C10, C11, C12, C13, C14, C15, C16 } #define MATRIX_COL_PINS { C8 , C9 , A8 , A10, C7 , C6 , B14, B12, B10, B1 , C5 , C4 , A7 , B0 , C11, A3 , B4 } // R0 , R1 , R2 , R3 , R4 , R5 diff --git a/keyboards/acheron/arctic/config.h b/keyboards/acheron/arctic/config.h index 8e087114f1..0187e823fc 100644 --- a/keyboards/acheron/arctic/config.h +++ b/keyboards/acheron/arctic/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 14 - #define MATRIX_COL_PINS { B0, A5, A4, A3, A2, A1, A0, F1, F0, C15, C14, C13, B9, B8} #define MATRIX_ROW_PINS { B7, B6, A6, A7, B1} #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h index 2fdf4551a8..08526ea943 100644 --- a/keyboards/acheron/athena/alpha/config.h +++ b/keyboards/acheron/athena/alpha/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #pragma once -#define MATRIX_ROWS 6 -#define MATRIX_COLS 17 - #define MATRIX_COL_PINS { A8 , B14, B12, B10, B1 , B0 , A5 , A4 , A3 , A2 , A1 , A0 , C15, A7 , B4 , B3 , A15 } #define MATRIX_ROW_PINS { B9 , C13, B8 , B5 , A14 , C14 } diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h index 65c39754c3..8be04b3fa1 100644 --- a/keyboards/acheron/athena/beta/config.h +++ b/keyboards/acheron/athena/beta/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #pragma once -#define MATRIX_ROWS 6 -#define MATRIX_COLS 17 - #define MATRIX_COL_PINS { C7 , C6 , B14, B12, B10, B1 , C4 , A7 , A6 , A5 , A4 , A3 , A2 , C5 , A10, A8 , C9 } #define MATRIX_ROW_PINS { C11, C12, C10, A15, C0 , A1 } diff --git a/keyboards/acheron/austin/config.h b/keyboards/acheron/austin/config.h index 9de87c263e..323d7b3c83 100644 --- a/keyboards/acheron/austin/config.h +++ b/keyboards/acheron/austin/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 19 - #define MATRIX_COL_PINS { B10, B11, B12, B13, B14, B15, A8, A9, A10, A5, A15, B3, B4, B5, B8, A3, C15, C14, F1 } #define MATRIX_ROW_PINS { C13, A4, A7, B0, B1, B2 } #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/acheron/elongate/beta/config.h b/keyboards/acheron/elongate/beta/config.h index ea72c59000..a3b19e7fe6 100644 --- a/keyboards/acheron/elongate/beta/config.h +++ b/keyboards/acheron/elongate/beta/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 13 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/acheron/elongate/delta/config.h b/keyboards/acheron/elongate/delta/config.h index 0b875dc2f6..2be4dba3e3 100755 --- a/keyboards/acheron/elongate/delta/config.h +++ b/keyboards/acheron/elongate/delta/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #pragma once -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 - #define MATRIX_COL_PINS { A10, A9, A8, B14, B12, B11, B10, B2, B1, A7, A5, B9, B8, B7, B6 } #define MATRIX_ROW_PINS { B3, A15, B0, B4, B5 } diff --git a/keyboards/acheron/keebspcb/config.h b/keyboards/acheron/keebspcb/config.h index 21a05fc181..1a8eab8b80 100644 --- a/keyboards/acheron/keebspcb/config.h +++ b/keyboards/acheron/keebspcb/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 13 - #define MATRIX_COL_PINS { B12, A1, A0, F1, F0, C15, C14, C13, B9, B8, B7, B6, B5} #define MATRIX_ROW_PINS { B4, B3, A2, A3, A4} #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/acheron/lasgweloth/config.h b/keyboards/acheron/lasgweloth/config.h index 59a44a9b9b..e41924d0c6 100644 --- a/keyboards/acheron/lasgweloth/config.h +++ b/keyboards/acheron/lasgweloth/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 14 - #define MATRIX_COL_PINS { B12, A2 , A1 , A0 , F1 , F0 , C15, C14, C13, A7 , A6 , A5 , A4 , B7} #define MATRIX_ROW_PINS { B9 , B8 , A3 , B0 , B1 } #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/acheron/shark/alpha/config.h b/keyboards/acheron/shark/alpha/config.h index 139b21b0b9..cadd2d825d 100644 --- a/keyboards/acheron/shark/alpha/config.h +++ b/keyboards/acheron/shark/alpha/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 12 - /* encoder pads */ #define ENCODERS_PAD_A { B6 } #define ENCODERS_PAD_B { B7 } diff --git a/keyboards/acheron/shark/beta/config.h b/keyboards/acheron/shark/beta/config.h index 7c56f2d258..aab3c78077 100644 --- a/keyboards/acheron/shark/beta/config.h +++ b/keyboards/acheron/shark/beta/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #pragma once -#define MATRIX_ROWS 4 -#define MATRIX_COLS 12 - #define MATRIX_COL_PINS { A5 , A10, C13, B9 , B8 , B5 , B4 , B3 , A15, A0 , A1 , A2 } #define MATRIX_ROW_PINS { A8 , B14, A4 , A3 } #define DIODE_DIRECTION COL2ROW -- cgit v1.2.3