1
0
Fork 0

LED drivers: extract IS31FL3743A from IS31COMMON (#22635)

This commit is contained in:
Ryan 2024-01-01 17:04:51 +11:00 committed by GitHub
parent 0ea3203205
commit ae2d5e2e5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 883 additions and 94 deletions

View file

@ -3,6 +3,8 @@
#pragma once
#define IS31FL3743A_I2C_ADDRESS_1 IS31FL3743A_I2C_ADDRESS_GND_GND
#define RGB_MATRIX_LED_COUNT 64
#define CAPS_LOCK_INDEX 28
#define WIN_MOD_INDEX 16

View file

@ -6,7 +6,7 @@ int FN_MAC = 0;
int L_WIN = 0;
int L_MAC = 0;
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
const is31fl3743a_led_t PROGMEM g_is31fl3743a_leds[IS31FL3743A_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location

View file

@ -3,6 +3,8 @@
#pragma once
#define IS31FL3743A_I2C_ADDRESS_1 IS31FL3743A_I2C_ADDRESS_GND_GND
#define RGB_MATRIX_LED_COUNT 64
#define CAPS_LOCK_INDEX 28
#define WIN_MOD_INDEX 16

View file

@ -7,7 +7,7 @@ _Bool L_WIN = 0;
_Bool L_MAC = 0;
#if defined(RGB_MATRIX_ENABLE) /*&& defined(CAPS_LOCK_INDEX)*/
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
const is31fl3743a_led_t PROGMEM g_is31fl3743a_leds[IS31FL3743A_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location