From 9b36033085bba2f05723e1789ad76d5f3c89e08c Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 28 Dec 2022 16:51:23 +0800 Subject: [PATCH] lotus: Config I2C addresses of RGB LED controllers Signed-off-by: Daniel Schaefer --- keyboards/lotus/config.h | 4 +++- keyboards/lotus/keymaps/78_ansi/config.h | 1 + keyboards/lotus/keymaps/gridpad/config.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 keyboards/lotus/keymaps/78_ansi/config.h create mode 100644 keyboards/lotus/keymaps/gridpad/config.h diff --git a/keyboards/lotus/config.h b/keyboards/lotus/config.h index d95a6de3f4..184bc82651 100644 --- a/keyboards/lotus/config.h +++ b/keyboards/lotus/config.h @@ -19,7 +19,9 @@ #define WS2812_PIO_USE_PIO1 -#define DRIVER_COUNT 1 +// 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 diff --git a/keyboards/lotus/keymaps/78_ansi/config.h b/keyboards/lotus/keymaps/78_ansi/config.h new file mode 100644 index 0000000000..21f290fccc --- /dev/null +++ b/keyboards/lotus/keymaps/78_ansi/config.h @@ -0,0 +1 @@ +#define DRIVER_COUNT 2 diff --git a/keyboards/lotus/keymaps/gridpad/config.h b/keyboards/lotus/keymaps/gridpad/config.h new file mode 100644 index 0000000000..b12f5d394a --- /dev/null +++ b/keyboards/lotus/keymaps/gridpad/config.h @@ -0,0 +1 @@ +#define DRIVER_COUNT 1