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/mode/m65ha_alpha/config.h | 4 ---- keyboards/mode/m65hi_alpha/config.h | 4 ---- keyboards/mode/m65s/config.h | 4 ---- keyboards/mode/m75h/config.h | 3 --- keyboards/mode/m75s/config.h | 3 --- keyboards/mode/m80v1/config.h | 4 ---- keyboards/mode/m80v2/config.h | 4 ---- 7 files changed, 26 deletions(-) (limited to 'keyboards/mode') diff --git a/keyboards/mode/m65ha_alpha/config.h b/keyboards/mode/m65ha_alpha/config.h index 8bc75d0616..da995299e4 100644 --- a/keyboards/mode/m65ha_alpha/config.h +++ b/keyboards/mode/m65ha_alpha/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 15 - #define MATRIX_COL_PINS { B10, B12, C8 , C4 , C5 , B0 , C10, B13, B14, B15, A15, C6 , C7 , A8 , C9} #define MATRIX_ROW_PINS { A7 , A10, D2 , C12, B1 , C11 } #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/mode/m65hi_alpha/config.h b/keyboards/mode/m65hi_alpha/config.h index aab8942456..62faefd168 100644 --- a/keyboards/mode/m65hi_alpha/config.h +++ b/keyboards/mode/m65hi_alpha/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 15 - #define MATRIX_COL_PINS { B10, B12, C8 , C4 , C5 , B0 , C10, B13, B14, B15, A15, C6 , C7 , A8 , C9 } #define MATRIX_ROW_PINS { A7 , A10, D2 , C12, B1 , C11 } #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/mode/m65s/config.h b/keyboards/mode/m65s/config.h index a00b5d7e82..173c679f1f 100644 --- a/keyboards/mode/m65s/config.h +++ b/keyboards/mode/m65s/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 - #define MATRIX_COL_PINS { C7 , A8 , A10, A4 , A5 , A6 , C10, A7, C4 , C5 , A15, B0 , B1 , B12, B10, B13 } #define MATRIX_ROW_PINS { A3 , B14, B15, C9 , C6 , C11 } #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/mode/m75h/config.h b/keyboards/mode/m75h/config.h index ee61ff4b82..2b0b122a6b 100644 --- a/keyboards/mode/m75h/config.h +++ b/keyboards/mode/m75h/config.h @@ -17,9 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 7 -#define MATRIX_COLS 16 //C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15 #define MATRIX_COL_PINS { C8, C7, A10, B13, B12, B10, B1, C10, C11, D2, C12, B3, B4, B5, B8, B9 } //R0, R1, R2, R3, R4, R5 , R6 diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h index 7e3915b616..7bbeb8c937 100644 --- a/keyboards/mode/m75s/config.h +++ b/keyboards/mode/m75s/config.h @@ -17,9 +17,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 7 -#define MATRIX_COLS 16 //C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15 #define MATRIX_COL_PINS { C8, A8, A10, B13, B12, B10, B1, C10, C11, D2, C12, B3, B4, B5, B8, B9 } //R0, R1, R2, R3, R4, R5 , R6 diff --git a/keyboards/mode/m80v1/config.h b/keyboards/mode/m80v1/config.h index f7101f36ca..c50628ca54 100644 --- a/keyboards/mode/m80v1/config.h +++ b/keyboards/mode/m80v1/config.h @@ -15,10 +15,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 16 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/mode/m80v2/config.h b/keyboards/mode/m80v2/config.h index def4e84ab5..dcfd8d1614 100644 --- a/keyboards/mode/m80v2/config.h +++ b/keyboards/mode/m80v2/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 - #define MATRIX_ROW_PINS { B12, B13, B14, B3, B4, B9 } #define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, B0, B1, B10, A8, A10, B15, A15, B5, B8, C13 } -- cgit v1.2.3