From a76e70cffff69d5ba30a39f844df490fcddd93c7 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> Date: Fri, 3 Feb 2023 05:33:56 +0800 Subject: [Keyboard] Add rev_0131 for Keychron Q0 (#19547) Co-authored-by: Ryan --- keyboards/keychron/q0/rev_0130/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'keyboards/keychron/q0/rev_0130/config.h') diff --git a/keyboards/keychron/q0/rev_0130/config.h b/keyboards/keychron/q0/rev_0130/config.h index 126d636589..80a2e150af 100644 --- a/keyboards/keychron/q0/rev_0130/config.h +++ b/keyboards/keychron/q0/rev_0130/config.h @@ -16,9 +16,19 @@ #pragma once +/* key matrix pins */ +#define MATRIX_ROW_PINS { B5, B4, B3, A15, A14, A13 } +#define MATRIX_COL_PINS { A5, A6, A7, B0 } + +/* RGB Matrix Driver Configuration */ +#define DRIVER_COUNT 1 +#define DRIVER_ADDR_1 0b1110100 + /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 21 #define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL +#define RGB_MATRIX_CENTER { 56, 16 } + /* Enable num-lock LED */ #define NUM_LOCK_LED_INDEX 4 -- cgit v1.2.3