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/bastardkb/charybdis/3x5/config.h | 4 ---- keyboards/bastardkb/charybdis/3x6/config.h | 4 ---- keyboards/bastardkb/charybdis/4x6/config.h | 4 ---- keyboards/bastardkb/dilemma/config.h | 5 ----- keyboards/bastardkb/scylla/config.h | 4 ---- keyboards/bastardkb/skeletyl/config.h | 4 ---- keyboards/bastardkb/tbk/config.h | 2 -- keyboards/bastardkb/tbkmini/config.h | 4 ---- 8 files changed, 31 deletions(-) (limited to 'keyboards/bastardkb') diff --git a/keyboards/bastardkb/charybdis/3x5/config.h b/keyboards/bastardkb/charybdis/3x5/config.h index e25064a197..a74239f706 100644 --- a/keyboards/bastardkb/charybdis/3x5/config.h +++ b/keyboards/bastardkb/charybdis/3x5/config.h @@ -18,10 +18,6 @@ #pragma once -/* Key matrix configuration. */ -#define MATRIX_ROWS 8 // Rows are doubled-up. -#define MATRIX_COLS 5 - #define DIODE_DIRECTION ROW2COL /* Trackball angle adjustment. */ diff --git a/keyboards/bastardkb/charybdis/3x6/config.h b/keyboards/bastardkb/charybdis/3x6/config.h index b759af6560..19a2fb56f5 100644 --- a/keyboards/bastardkb/charybdis/3x6/config.h +++ b/keyboards/bastardkb/charybdis/3x6/config.h @@ -18,10 +18,6 @@ #pragma once -/* Key matrix configuration. */ -#define MATRIX_ROWS 8 // Rows are doubled-up. -#define MATRIX_COLS 6 - #define DIODE_DIRECTION ROW2COL /* Trackball angle adjustment. */ diff --git a/keyboards/bastardkb/charybdis/4x6/config.h b/keyboards/bastardkb/charybdis/4x6/config.h index 53757a643a..21887dca07 100644 --- a/keyboards/bastardkb/charybdis/4x6/config.h +++ b/keyboards/bastardkb/charybdis/4x6/config.h @@ -18,10 +18,6 @@ #pragma once -/* Key matrix configuration. */ -#define MATRIX_ROWS 10 // Rows are doubled-up. -#define MATRIX_COLS 6 - #define DIODE_DIRECTION ROW2COL /* Trackball angle adjustment. */ diff --git a/keyboards/bastardkb/dilemma/config.h b/keyboards/bastardkb/dilemma/config.h index 7043855290..3ea785525c 100644 --- a/keyboards/bastardkb/dilemma/config.h +++ b/keyboards/bastardkb/dilemma/config.h @@ -19,11 +19,6 @@ #pragma once -/* Key matrix configuration. */ - -#define MATRIX_ROWS 8 // Rows are doubled-up. -#define MATRIX_COLS 5 - #define DIODE_DIRECTION ROW2COL /* Pointing device configuration. */ diff --git a/keyboards/bastardkb/scylla/config.h b/keyboards/bastardkb/scylla/config.h index 83ed60345e..0f41dca37e 100644 --- a/keyboards/bastardkb/scylla/config.h +++ b/keyboards/bastardkb/scylla/config.h @@ -19,10 +19,6 @@ #pragma once -/* Key matrix configuration. */ -#define MATRIX_ROWS 10 // Rows are doubled-up. -#define MATRIX_COLS 6 - #define DIODE_DIRECTION ROW2COL /* RGB settings. */ diff --git a/keyboards/bastardkb/skeletyl/config.h b/keyboards/bastardkb/skeletyl/config.h index c221eb24c5..c1e0e0aa19 100644 --- a/keyboards/bastardkb/skeletyl/config.h +++ b/keyboards/bastardkb/skeletyl/config.h @@ -19,10 +19,6 @@ #pragma once -/* Key matrix configuration. */ -#define MATRIX_ROWS 8 // Rows are doubled-up. -#define MATRIX_COLS 5 - #define DIODE_DIRECTION ROW2COL /* RGB settings. */ diff --git a/keyboards/bastardkb/tbk/config.h b/keyboards/bastardkb/tbk/config.h index 6f0c6d3783..cc0b06744e 100644 --- a/keyboards/bastardkb/tbk/config.h +++ b/keyboards/bastardkb/tbk/config.h @@ -17,8 +17,6 @@ #pragma once -#define MATRIX_ROWS 10 -#define MATRIX_COLS 6 #define DIODE_DIRECTION ROW2COL #define MATRIX_ROW_PINS { D7, B5, F7, F6, B6 } #define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 } diff --git a/keyboards/bastardkb/tbkmini/config.h b/keyboards/bastardkb/tbkmini/config.h index 007a765574..9c2e0f8327 100644 --- a/keyboards/bastardkb/tbkmini/config.h +++ b/keyboards/bastardkb/tbkmini/config.h @@ -19,10 +19,6 @@ #pragma once -/* Key matrix configuration. */ -#define MATRIX_ROWS 8 // Rows are doubled-up. -#define MATRIX_COLS 6 - #define DIODE_DIRECTION ROW2COL /* RGB settings. */ -- cgit v1.2.3