diff options
author | Joel Challis <git@zvecr.com> | 2024-01-08 04:27:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 04:27:01 +0000 |
commit | ce34549c26ece884f78c7c245ddf9a37143a0757 (patch) | |
tree | 19f888a7245354d320027bee59b4bbacf1de0d84 /keyboards/input_club/k_type/is31fl3733-dual.h | |
parent | a45107e1525cb73e489bcc1ff85722adb12d36f9 (diff) |
Migrate RGB Matrix config to info.json (#22863)
Diffstat (limited to 'keyboards/input_club/k_type/is31fl3733-dual.h')
-rw-r--r-- | keyboards/input_club/k_type/is31fl3733-dual.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/input_club/k_type/is31fl3733-dual.h b/keyboards/input_club/k_type/is31fl3733-dual.h index e0fc5fd3b9..99a5ebbb82 100644 --- a/keyboards/input_club/k_type/is31fl3733-dual.h +++ b/keyboards/input_club/k_type/is31fl3733-dual.h @@ -58,6 +58,20 @@ #define IS31FL3733_I2C_ADDRESS_VCC_SDA 0x5E #define IS31FL3733_I2C_ADDRESS_VCC_VCC 0x5F +#if !defined(IS31FL3733_LED_COUNT) +# define IS31FL3733_LED_COUNT RGB_MATRIX_LED_COUNT +#endif + +#if defined(IS31FL3733_I2C_ADDRESS_4) +# define IS31FL3733_DRIVER_COUNT 4 +#elif defined(IS31FL3733_I2C_ADDRESS_3) +# define IS31FL3733_DRIVER_COUNT 3 +#elif defined(IS31FL3733_I2C_ADDRESS_2) +# define IS31FL3733_DRIVER_COUNT 2 +#elif defined(IS31FL3733_I2C_ADDRESS_1) +# define IS31FL3733_DRIVER_COUNT 1 +#endif + typedef struct is31fl3733_led_t { uint8_t driver : 2; uint8_t r; |