From 5244b13173e3df8f12f6e7338533c262e3acf88f Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Tue, 8 Mar 2022 17:37:40 -0700 Subject: Fix yandrstudio/zhou65 (#16589) * initial cleanup and hotfix for rgb.... * remove /f401 --- keyboards/yandrstudio/zhou65/config.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'keyboards/yandrstudio/zhou65/config.h') diff --git a/keyboards/yandrstudio/zhou65/config.h b/keyboards/yandrstudio/zhou65/config.h index 7dbbd037ec..f4d8199e13 100644 --- a/keyboards/yandrstudio/zhou65/config.h +++ b/keyboards/yandrstudio/zhou65/config.h @@ -24,15 +24,24 @@ #define MANUFACTURER ZHOU_Y&R #define PRODUCT zhou65 -/* enable the nkro when using the VIA. */ -#define FORCE_NKRO +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 15 + +/* key matrix pins */ +#define MATRIX_ROW_PINS { A2, A1, B8, B7, C15 } +#define MATRIX_COL_PINS { B9, B6, B5, B4, B3, B1, B0, A7, A6, A5, A4, A3, A8, B15, B14 } -/* fix VIA RGB_light */ -#define VIA_HAS_BROKEN_KEYCODES +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION ROW2COL +#define LED_CAPS_LOCK_PIN A15 +#define LED_PIN_ON_STATE 0 + +/* enable the nkro when using the VIA. */ +#define FORCE_NKRO /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 -- cgit v1.2.3