summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio/zhou65/config.h
diff options
context:
space:
mode:
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