From 31a9950b914bafbdb03eda50fcc2b7846e9cdb8a Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 28 Dec 2022 16:56:25 +0800 Subject: [PATCH] lotus: Config keyboard and gridpad individually Signed-off-by: Daniel Schaefer --- keyboards/lotus/config.h | 7 ------- keyboards/lotus/keymaps/78_ansi/config.h | 5 +++++ keyboards/lotus/keymaps/gridpad/config.h | 2 ++ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/keyboards/lotus/config.h b/keyboards/lotus/config.h index 184bc82651..876db7a700 100644 --- a/keyboards/lotus/config.h +++ b/keyboards/lotus/config.h @@ -19,13 +19,6 @@ #define WS2812_PIO_USE_PIO1 -// Keyboard has 2 drivers, gridpad has 1 -#define DRIVER_ADDR_1 0b0100000 -#define DRIVER_ADDR_2 0b0100011 -#define RGB_MATRIX_LED_COUNT 97 -// For the numpad -// #define RGB_MATRIX_LED_COUNT 22 - // PWM single one backlight configuration // The RP2040 datasheet says GPIO25 maps to PWM channel 4B // On the Raspberry Pi Pico this is the green LED on the board, good for prototyping diff --git a/keyboards/lotus/keymaps/78_ansi/config.h b/keyboards/lotus/keymaps/78_ansi/config.h index 21f290fccc..cd72d084f0 100644 --- a/keyboards/lotus/keymaps/78_ansi/config.h +++ b/keyboards/lotus/keymaps/78_ansi/config.h @@ -1 +1,6 @@ #define DRIVER_COUNT 2 +#define DRIVER_ADDR_1 0b0100000 +#define DRIVER_ADDR_2 0b0100011 +#define DRIVER_1_LED_TOTAL 48 +#define DRIVER_2_LED_TOTAL 49 +#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) diff --git a/keyboards/lotus/keymaps/gridpad/config.h b/keyboards/lotus/keymaps/gridpad/config.h index b12f5d394a..234792f3b1 100644 --- a/keyboards/lotus/keymaps/gridpad/config.h +++ b/keyboards/lotus/keymaps/gridpad/config.h @@ -1 +1,3 @@ #define DRIVER_COUNT 1 +#define DRIVER_ADDR_1 0b0100000 +#define RGB_MATRIX_LED_COUNT 24