summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio/zhou65/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-09 00:38:10 +0000
committerQMK Bot <hello@qmk.fm>2022-03-09 00:38:10 +0000
commitc349e85956ffd5a467a9b122d34ed7168b57f779 (patch)
tree85c60ebbae2c6650c2e4d66400e5b9d03f30c60a /keyboards/yandrstudio/zhou65/config.h
parent41225620c228d9a677b45f281d02f1fc4460301d (diff)
parent5244b13173e3df8f12f6e7338533c262e3acf88f (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/yandrstudio/zhou65/config.h')
-rw-r--r--keyboards/yandrstudio/zhou65/config.h19
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