From d321cb3f8bcdd2ab15c13785f6fc4dd3474ec1ec Mon Sep 17 00:00:00 2001 From: smssmssms Date: Fri, 1 Jan 2021 23:27:13 +0000 Subject: [Keyboard] Pos78 update (#11274) * Added LED hardware pin numbers CAPS and NUM lock LEDs * Added "LED_PIN_ON_STATE 1" * Make MATRIX_ROW/COL pins match reality --- keyboards/pos78/config.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/keyboards/pos78/config.h b/keyboards/pos78/config.h index c307c6f5c6..c070d1358d 100644 --- a/keyboards/pos78/config.h +++ b/keyboards/pos78/config.h @@ -39,8 +39,8 @@ along with this program. If not, see . * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } -#define MATRIX_COL_PINS { C7, D6, B7 ,B6, B5, E6, C6, D0, D1, D3, D2, B1, B2 } +#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 } +#define MATRIX_COL_PINS { B2, B1, D2, D3, D1, D0, C6, E6, B5, B6, B7, D6, C7 } #define UNUSED_PINS /* COL2ROW, ROW2COL */ @@ -59,6 +59,11 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE +/* Hardware LED pins*/ +#define LED_CAPS_LOCK_PIN D4 +#define LED_NUM_LOCK_PIN D2 +#define LED_PIN_ON_STATE 1 + /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. * This is useful for the Windows task manager shortcut (ctrl+shift+esc). */ -- cgit v1.2.3