Skip to content

Commit 2d41443

Browse files
authored
is31fl3736: driver naming cleanups (qmk#21903)
1 parent d36f73a commit 2d41443

File tree

10 files changed

+130
-90
lines changed

10 files changed

+130
-90
lines changed

docs/feature_rgb_matrix.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -170,31 +170,31 @@ Configure the hardware via your `config.h`:
170170

171171
| Variable | Description | Default |
172172
|----------|-------------|---------|
173-
| `ISSI_TIMEOUT` | (Optional) How long to wait for i2c messages, in milliseconds | 100 |
174-
| `ISSI_PERSISTENCE` | (Optional) Retry failed messages this many times | 0 |
175-
| `ISSI_PWM_FREQUENCY` | (Optional) PWM Frequency Setting - IS31FL3736B only | 0 |
176-
| `ISSI_GLOBALCURRENT` | (Optional) Configuration for the Global Current Register | 0xFF |
177-
| `ISSI_SWPULLUP` | (Optional) Set the value of the SWx lines on-chip de-ghosting resistors | PUR_0R (Disabled) |
178-
| `ISSI_CSPULLUP` | (Optional) Set the value of the CSx lines on-chip de-ghosting resistors | PUR_0R (Disabled) |
179-
| `DRIVER_COUNT` | (Required) How many RGB driver IC's are present | |
173+
| `IS31FL3736_I2C_TIMEOUT` | (Optional) How long to wait for i2c messages, in milliseconds | 100 |
174+
| `IS31FL3736_PERSISTENCE` | (Optional) Retry failed messages this many times | 0 |
175+
| `IS31FL3736_PWM_FREQUENCY` | (Optional) PWM Frequency Setting - IS31FL3736B only | 0 |
176+
| `IS31FL3736_GLOBALCURRENT` | (Optional) Configuration for the Global Current Register | 0xFF |
177+
| `IS31FL3736_SWPULLUP` | (Optional) Set the value of the SWx lines on-chip de-ghosting resistors | PUR_0R (Disabled) |
178+
| `IS31FL3736_CSPULLUP` | (Optional) Set the value of the CSx lines on-chip de-ghosting resistors | PUR_0R (Disabled) |
179+
| `IS31FL3736_DRIVER_COUNT` | (Required) How many RGB driver IC's are present | |
180180
| `RGB_MATRIX_LED_COUNT` | (Required) How many RGB lights are present across all drivers | |
181181
| `DRIVER_ADDR_1` | (Required) Address for the first RGB driver | |
182182
| `DRIVER_ADDR_2` | (Optional) Address for the second RGB driver | |
183183
| `DRIVER_ADDR_3` | (Optional) Address for the third RGB driver | |
184184
| `DRIVER_ADDR_4` | (Optional) Address for the fourth RGB driver | |
185185

186-
The IS31FL3736 IC's have on-chip resistors that can be enabled to allow for de-ghosting of the RGB matrix. By default these resistors are not enabled (`ISSI_SWPULLUP`/`ISSI_CSPULLUP` are given the value of`PUR_0R`), the values that can be set to enable de-ghosting are as follows:
186+
The IS31FL3736 IC's have on-chip resistors that can be enabled to allow for de-ghosting of the RGB matrix. By default these resistors are not enabled (`IS31FL3736_SWPULLUP`/`IS31FL3736_CSPULLUP` are given the value of `IS31FL3736_PUR_0R`), the values that can be set to enable de-ghosting are as follows:
187187

188-
| `ISSI_SWPULLUP/ISSI_CSPULLUP` | Description |
188+
| `IS31FL3736_SWPULLUP/IS31FL3736_CSPULLUP` | Description |
189189
|----------------------|-------------|
190-
| `PUR_0R` | (default) Do not use the on-chip resistors/enable de-ghosting |
191-
| `PUR_05KR` | The 0.5k Ohm resistor used during blanking period (t_NOL) |
192-
| `PUR_1KR` | The 1k Ohm resistor used during blanking period (t_NOL) |
193-
| `PUR_2KR` | The 2k Ohm resistor used during blanking period (t_NOL) |
194-
| `PUR_4KR` | The 4k Ohm resistor used during blanking period (t_NOL) |
195-
| `PUR_8KR` | The 8k Ohm resistor during blanking period (t_NOL) |
196-
| `PUR_16KR` | The 16k Ohm resistor during blanking period (t_NOL) |
197-
| `PUR_32KR` | The 32k Ohm resistor used during blanking period (t_NOL) |
190+
| `IS31FL3736_PUR_0R` | (default) Do not use the on-chip resistors/enable de-ghosting |
191+
| `IS31FL3736_PUR_05KR` | The 0.5k Ohm resistor used during blanking period (t_NOL) |
192+
| `IS31FL3736_PUR_1KR` | The 1k Ohm resistor used during blanking period (t_NOL) |
193+
| `IS31FL3736_PUR_2KR` | The 2k Ohm resistor used during blanking period (t_NOL) |
194+
| `IS31FL3736_PUR_4KR` | The 4k Ohm resistor used during blanking period (t_NOL) |
195+
| `IS31FL3736_PUR_8KR` | The 8k Ohm resistor during blanking period (t_NOL) |
196+
| `IS31FL3736_PUR_16KR` | The 16k Ohm resistor during blanking period (t_NOL) |
197+
| `IS31FL3736_PUR_32KR` | The 32k Ohm resistor used during blanking period (t_NOL) |
198198

199199
Here is an example using 2 drivers.
200200

@@ -211,7 +211,7 @@ Here is an example using 2 drivers.
211211
#define DRIVER_ADDR_1 0b1010000
212212
#define DRIVER_ADDR_2 0b1010001
213213

214-
#define DRIVER_COUNT 2
214+
#define IS31FL3736_DRIVER_COUNT 2
215215
#define DRIVER_1_LED_TOTAL 30
216216
#define DRIVER_2_LED_TOTAL 32
217217
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)

drivers/led/issi/is31fl3736.c

+56-55
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
#include "is31fl3736.h"
19+
#include <string.h>
1920
#include "i2c_master.h"
2021
#include "wait.h"
2122

@@ -29,42 +30,42 @@
2930
// ADDR1 represents A1:A0 of the 7-bit address.
3031
// ADDR2 represents A3:A2 of the 7-bit address.
3132
// The result is: 0b101(ADDR2)(ADDR1)
32-
#define ISSI_ADDR_DEFAULT 0x50
33-
34-
#define ISSI_COMMANDREGISTER 0xFD
35-
#define ISSI_COMMANDREGISTER_WRITELOCK 0xFE
36-
#define ISSI_INTERRUPTMASKREGISTER 0xF0
37-
#define ISSI_INTERRUPTSTATUSREGISTER 0xF1
38-
39-
#define ISSI_PAGE_LEDCONTROL 0x00 // PG0
40-
#define ISSI_PAGE_PWM 0x01 // PG1
41-
#define ISSI_PAGE_AUTOBREATH 0x02 // PG2
42-
#define ISSI_PAGE_FUNCTION 0x03 // PG3
43-
44-
#define ISSI_REG_CONFIGURATION 0x00 // PG3
45-
#define ISSI_REG_GLOBALCURRENT 0x01 // PG3
46-
#define ISSI_REG_RESET 0x11 // PG3
47-
#define ISSI_REG_SWPULLUP 0x0F // PG3
48-
#define ISSI_REG_CSPULLUP 0x10 // PG3
49-
50-
#ifndef ISSI_TIMEOUT
51-
# define ISSI_TIMEOUT 100
33+
#define IS31FL3736_I2C_ADDRESS_DEFAULT 0x50
34+
35+
#define IS31FL3736_COMMANDREGISTER 0xFD
36+
#define IS31FL3736_COMMANDREGISTER_WRITELOCK 0xFE
37+
#define IS31FL3736_INTERRUPTMASKREGISTER 0xF0
38+
#define IS31FL3736_INTERRUPTSTATUSREGISTER 0xF1
39+
40+
#define IS31FL3736_PAGE_LEDCONTROL 0x00 // PG0
41+
#define IS31FL3736_PAGE_PWM 0x01 // PG1
42+
#define IS31FL3736_PAGE_AUTOBREATH 0x02 // PG2
43+
#define IS31FL3736_PAGE_FUNCTION 0x03 // PG3
44+
45+
#define IS31FL3736_REG_CONFIGURATION 0x00 // PG3
46+
#define IS31FL3736_REG_GLOBALCURRENT 0x01 // PG3
47+
#define IS31FL3736_REG_RESET 0x11 // PG3
48+
#define IS31FL3736_REG_SWPULLUP 0x0F // PG3
49+
#define IS31FL3736_REG_CSPULLUP 0x10 // PG3
50+
51+
#ifndef IS31FL3736_TIMEOUT
52+
# define IS31FL3736_I2C_TIMEOUT 100
5253
#endif
5354

54-
#ifndef ISSI_PERSISTENCE
55-
# define ISSI_PERSISTENCE 0
55+
#ifndef IS31FL3736_I2C_PERSISTENCE
56+
# define IS31FL3736_I2C_PERSISTENCE 0
5657
#endif
5758

58-
#ifndef ISSI_SWPULLUP
59-
# define ISSI_SWPULLUP PUR_0R
59+
#ifndef IS31FL3736_SWPULLUP
60+
# define IS31FL3736_SWPULLUP IS31FL3736_PUR_0R
6061
#endif
6162

62-
#ifndef ISSI_CSPULLUP
63-
# define ISSI_CSPULLUP PUR_0R
63+
#ifndef IS31FL3736_CSPULLUP
64+
# define IS31FL3736_CSPULLUP IS31FL3736_PUR_0R
6465
#endif
6566

66-
#ifndef ISSI_GLOBALCURRENT
67-
# define ISSI_GLOBALCURRENT 0xFF
67+
#ifndef IS31FL3736_GLOBALCURRENT
68+
# define IS31FL3736_GLOBALCURRENT 0xFF
6869
#endif
6970

7071
// Transfer buffer for TWITransmitData()
@@ -76,22 +77,22 @@ uint8_t g_twi_transfer_buffer[20];
7677
// We could optimize this and take out the unused registers from these
7778
// buffers and the transfers in is31fl3736_write_pwm_buffer() but it's
7879
// probably not worth the extra complexity.
79-
uint8_t g_pwm_buffer[DRIVER_COUNT][192];
80-
bool g_pwm_buffer_update_required[DRIVER_COUNT] = {false};
80+
uint8_t g_pwm_buffer[IS31FL3736_DRIVER_COUNT][192];
81+
bool g_pwm_buffer_update_required[IS31FL3736_DRIVER_COUNT] = {false};
8182

82-
uint8_t g_led_control_registers[DRIVER_COUNT][24] = {{0}, {0}};
83-
bool g_led_control_registers_update_required = false;
83+
uint8_t g_led_control_registers[IS31FL3736_DRIVER_COUNT][24] = {{0}, {0}};
84+
bool g_led_control_registers_update_required = false;
8485

8586
void is31fl3736_write_register(uint8_t addr, uint8_t reg, uint8_t data) {
8687
g_twi_transfer_buffer[0] = reg;
8788
g_twi_transfer_buffer[1] = data;
8889

89-
#if ISSI_PERSISTENCE > 0
90-
for (uint8_t i = 0; i < ISSI_PERSISTENCE; i++) {
91-
if (i2c_transmit(addr << 1, g_twi_transfer_buffer, 2, ISSI_TIMEOUT) == 0) break;
90+
#if IS31FL3736_I2C_PERSISTENCE > 0
91+
for (uint8_t i = 0; i < IS31FL3736_I2C_PERSISTENCE; i++) {
92+
if (i2c_transmit(addr << 1, g_twi_transfer_buffer, 2, IS31FL3736_I2C_TIMEOUT) == 0) break;
9293
}
9394
#else
94-
i2c_transmit(addr << 1, g_twi_transfer_buffer, 2, ISSI_TIMEOUT);
95+
i2c_transmit(addr << 1, g_twi_transfer_buffer, 2, IS31FL3736_I2C_TIMEOUT);
9596
#endif
9697
}
9798

@@ -109,12 +110,12 @@ void is31fl3736_write_pwm_buffer(uint8_t addr, uint8_t *pwm_buffer) {
109110
// thus this sets registers 0x00-0x0F, 0x10-0x1F, etc. in one transfer
110111
memcpy(g_twi_transfer_buffer + 1, pwm_buffer + i, 16);
111112

112-
#if ISSI_PERSISTENCE > 0
113-
for (uint8_t i = 0; i < ISSI_PERSISTENCE; i++) {
114-
if (i2c_transmit(addr << 1, g_twi_transfer_buffer, 17, ISSI_TIMEOUT) == 0) break;
113+
#if IS31FL3736_I2C_PERSISTENCE > 0
114+
for (uint8_t i = 0; i < IS31FL3736_I2C_PERSISTENCE; i++) {
115+
if (i2c_transmit(addr << 1, g_twi_transfer_buffer, 17, IS31FL3736_I2C_TIMEOUT) == 0) break;
115116
}
116117
#else
117-
i2c_transmit(addr << 1, g_twi_transfer_buffer, 17, ISSI_TIMEOUT);
118+
i2c_transmit(addr << 1, g_twi_transfer_buffer, 17, IS31FL3736_I2C_TIMEOUT);
118119
#endif
119120
}
120121
}
@@ -126,39 +127,39 @@ void is31fl3736_init(uint8_t addr) {
126127
// then disable software shutdown.
127128

128129
// Unlock the command register.
129-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER_WRITELOCK, 0xC5);
130+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER_WRITELOCK, 0xC5);
130131

131132
// Select PG0
132-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER, ISSI_PAGE_LEDCONTROL);
133+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER, IS31FL3736_PAGE_LEDCONTROL);
133134
// Turn off all LEDs.
134135
for (int i = 0x00; i <= 0x17; i++) {
135136
is31fl3736_write_register(addr, i, 0x00);
136137
}
137138

138139
// Unlock the command register.
139-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER_WRITELOCK, 0xC5);
140+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER_WRITELOCK, 0xC5);
140141

141142
// Select PG1
142-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER, ISSI_PAGE_PWM);
143+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER, IS31FL3736_PAGE_PWM);
143144
// Set PWM on all LEDs to 0
144145
// No need to setup Breath registers to PWM as that is the default.
145146
for (int i = 0x00; i <= 0xBF; i++) {
146147
is31fl3736_write_register(addr, i, 0x00);
147148
}
148149

149150
// Unlock the command register.
150-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER_WRITELOCK, 0xC5);
151+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER_WRITELOCK, 0xC5);
151152

152153
// Select PG3
153-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER, ISSI_PAGE_FUNCTION);
154+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER, IS31FL3736_PAGE_FUNCTION);
154155
// Set de-ghost pull-up resistors (SWx)
155-
is31fl3736_write_register(addr, ISSI_REG_SWPULLUP, ISSI_SWPULLUP);
156+
is31fl3736_write_register(addr, IS31FL3736_REG_SWPULLUP, IS31FL3736_SWPULLUP);
156157
// Set de-ghost pull-down resistors (CSx)
157-
is31fl3736_write_register(addr, ISSI_REG_CSPULLUP, ISSI_CSPULLUP);
158+
is31fl3736_write_register(addr, IS31FL3736_REG_CSPULLUP, IS31FL3736_CSPULLUP);
158159
// Set global current to maximum.
159-
is31fl3736_write_register(addr, ISSI_REG_GLOBALCURRENT, ISSI_GLOBALCURRENT);
160+
is31fl3736_write_register(addr, IS31FL3736_REG_GLOBALCURRENT, IS31FL3736_GLOBALCURRENT);
160161
// Disable software shutdown.
161-
is31fl3736_write_register(addr, ISSI_REG_CONFIGURATION, 0x01);
162+
is31fl3736_write_register(addr, IS31FL3736_REG_CONFIGURATION, 0x01);
162163

163164
// Wait 10ms to ensure the device has woken up.
164165
wait_ms(10);
@@ -266,19 +267,19 @@ void is31fl3736_mono_set_led_control_register(uint8_t index, bool enabled) {
266267
void is31fl3736_update_pwm_buffers(uint8_t addr, uint8_t index) {
267268
if (g_pwm_buffer_update_required[index]) {
268269
// Firstly we need to unlock the command register and select PG1
269-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER_WRITELOCK, 0xC5);
270-
is31fl3736_write_register(addr, ISSI_COMMANDREGISTER, ISSI_PAGE_PWM);
270+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER_WRITELOCK, 0xC5);
271+
is31fl3736_write_register(addr, IS31FL3736_COMMANDREGISTER, IS31FL3736_PAGE_PWM);
271272

272273
is31fl3736_write_pwm_buffer(addr, g_pwm_buffer[index]);
274+
g_pwm_buffer_update_required[index] = false;
273275
}
274-
g_pwm_buffer_update_required[index] = false;
275276
}
276277

277278
void is31fl3736_update_led_control_registers(uint8_t addr1, uint8_t addr2) {
278279
if (g_led_control_registers_update_required) {
279280
// Firstly we need to unlock the command register and select PG0
280-
is31fl3736_write_register(addr1, ISSI_COMMANDREGISTER_WRITELOCK, 0xC5);
281-
is31fl3736_write_register(addr1, ISSI_COMMANDREGISTER, ISSI_PAGE_LEDCONTROL);
281+
is31fl3736_write_register(addr1, IS31FL3736_COMMANDREGISTER_WRITELOCK, 0xC5);
282+
is31fl3736_write_register(addr1, IS31FL3736_COMMANDREGISTER, IS31FL3736_PAGE_LEDCONTROL);
282283
for (int i = 0; i < 24; i++) {
283284
is31fl3736_write_register(addr1, i, g_led_control_registers[0][i]);
284285
// is31fl3736_write_register(addr2, i, g_led_control_registers[1][i]);

drivers/led/issi/is31fl3736.h

+35-17
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,37 @@
1919

2020
#include <stdint.h>
2121
#include <stdbool.h>
22-
#include <string.h>
2322
#include "progmem.h"
2423

25-
// Simple interface option.
26-
// If these aren't defined, just define them to make it compile
27-
28-
#ifndef DRIVER_COUNT
29-
# define DRIVER_COUNT 2
24+
// ======== DEPRECATED DEFINES - DO NOT USE ========
25+
#ifdef DRIVER_COUNT
26+
# define IS31FL3736_DRIVER_COUNT DRIVER_COUNT
3027
#endif
31-
32-
#ifndef RGB_MATRIX_LED_COUNT
33-
# define RGB_MATRIX_LED_COUNT 96
28+
#ifdef ISSI_TIMEOUT
29+
# define IS31FL3736_I2C_TIMEOUT ISSI_TIMEOUT
30+
#endif
31+
#ifdef ISSI_PERSISTENCE
32+
# define IS31FL3736_I2C_PERSISTENCE ISSI_PERSISTENCE
33+
#endif
34+
#ifdef ISSI_SWPULLUP
35+
# define IS31FL3736_SWPULLUP ISSI_SWPULLUP
3436
#endif
37+
#ifdef ISSI_CSPULLUP
38+
# define IS31FL3736_CSPULLUP ISSI_CSPULLUP
39+
#endif
40+
#ifdef ISSI_GLOBALCURRENT
41+
# define IS31FL3736_GLOBALCURRENT ISSI_GLOBALCURRENT
42+
#endif
43+
44+
#define PUR_0R IS31FL3736_PUR_0R
45+
#define PUR_05KR IS31FL3736_PUR_05KR
46+
#define PUR_1KR IS31FL3736_PUR_1KR
47+
#define PUR_2KR IS31FL3736_PUR_2KR
48+
#define PUR_4KR IS31FL3736_PUR_4KR
49+
#define PUR_8KR IS31FL3736_PUR_8KR
50+
#define PUR_16KR IS31FL3736_PUR_16KR
51+
#define PUR_32KR IS31FL3736_PUR_32KR
52+
// ========
3553

3654
typedef struct is31_led {
3755
uint8_t driver : 2;
@@ -62,14 +80,14 @@ void is31fl3736_mono_set_led_control_register(uint8_t index, bool enabled);
6280
void is31fl3736_update_pwm_buffers(uint8_t addr, uint8_t index);
6381
void is31fl3736_update_led_control_registers(uint8_t addr, uint8_t index);
6482

65-
#define PUR_0R 0x00 // No PUR resistor
66-
#define PUR_05KR 0x01 // 0.5k Ohm resistor
67-
#define PUR_1KR 0x02 // 1.0k Ohm resistor
68-
#define PUR_2KR 0x03 // 2.0k Ohm resistor
69-
#define PUR_4KR 0x04 // 4.0k Ohm resistor
70-
#define PUR_8KR 0x05 // 8.0k Ohm resistor
71-
#define PUR_16KR 0x06 // 16k Ohm resistor
72-
#define PUR_32KR 0x07 // 32k Ohm resistor
83+
#define IS31FL3736_PUR_0R 0x00 // No PUR resistor
84+
#define IS31FL3736_PUR_05KR 0x01 // 0.5k Ohm resistor
85+
#define IS31FL3736_PUR_1KR 0x02 // 1.0k Ohm resistor
86+
#define IS31FL3736_PUR_2KR 0x03 // 2.0k Ohm resistor
87+
#define IS31FL3736_PUR_4KR 0x04 // 4.0k Ohm resistor
88+
#define IS31FL3736_PUR_8KR 0x05 // 8.0k Ohm resistor
89+
#define IS31FL3736_PUR_16KR 0x06 // 16k Ohm resistor
90+
#define IS31FL3736_PUR_32KR 0x07 // 32k Ohm resistor
7391

7492
#define A_1 0x00
7593
#define A_2 0x02

keyboards/wilba_tech/wt60_a/config.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161
// Backlight config starts after VIA's EEPROM usage,
6262
// dynamic keymaps start after this.
6363
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
64+
65+
#define IS31FL3736_DRIVER_COUNT 2
66+
#define RGB_MATRIX_LED_COUNT 96

keyboards/wilba_tech/wt65_a/config.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161
// Backlight config starts after VIA's EEPROM usage,
6262
// dynamic keymaps start after this.
6363
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
64+
65+
#define IS31FL3736_DRIVER_COUNT 2
66+
#define RGB_MATRIX_LED_COUNT 96

keyboards/wilba_tech/wt65_b/config.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161
// Backlight config starts after VIA's EEPROM usage,
6262
// dynamic keymaps start after this.
6363
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
64+
65+
#define IS31FL3736_DRIVER_COUNT 2
66+
#define RGB_MATRIX_LED_COUNT 96

keyboards/wilba_tech/wt75_a/config.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161
// Backlight config starts after VIA's EEPROM usage,
6262
// dynamic keymaps start after this.
6363
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
64+
65+
#define IS31FL3736_DRIVER_COUNT 2
66+
#define RGB_MATRIX_LED_COUNT 96

keyboards/wilba_tech/wt75_b/config.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161
// Backlight config starts after VIA's EEPROM usage,
6262
// dynamic keymaps start after this.
6363
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
64+
65+
#define IS31FL3736_DRIVER_COUNT 2
66+
#define RGB_MATRIX_LED_COUNT 96

keyboards/wilba_tech/wt75_c/config.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161
// Backlight config starts after VIA's EEPROM usage,
6262
// dynamic keymaps start after this.
6363
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
64+
65+
#define IS31FL3736_DRIVER_COUNT 2
66+
#define RGB_MATRIX_LED_COUNT 96

keyboards/wilba_tech/wt80_a/config.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161
// Backlight config starts after VIA's EEPROM usage,
6262
// dynamic keymaps start after this.
6363
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
64+
65+
#define IS31FL3736_DRIVER_COUNT 2
66+
#define RGB_MATRIX_LED_COUNT 96

0 commit comments

Comments
 (0)