diff options
author | jack <[email protected]> | 2022-03-08 17:37:40 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-09 00:37:40 +0000 |
commit | 5244b13173e3df8f12f6e7338533c262e3acf88f (patch) | |
tree | b24a6ee5f34f6fcc653c13ba5df81b8bfd7873e8 /keyboards/yandrstudio/zhou65/config.h | |
parent | 022e1fdac86c38136d6f818aec15d34b1ab92be5 (diff) | |
download | qmk_firmware-5244b13173e3df8f12f6e7338533c262e3acf88f.tar.gz qmk_firmware-5244b13173e3df8f12f6e7338533c262e3acf88f.zip |
Fix yandrstudio/zhou65 (#16589)
* initial cleanup and hotfix for rgb....
* remove /f401
Diffstat (limited to 'keyboards/yandrstudio/zhou65/config.h')
-rw-r--r-- | keyboards/yandrstudio/zhou65/config.h | 19 |
1 files changed, 14 insertions, 5 deletions
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 |