Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
#define RGB_DI_PIN E6
|
||||
#define RGBLED_NUM 66
|
||||
#define DRIVER_LED_TOTAL RGBLED_NUM
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -86,7 +86,7 @@
|
||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
#define DRIVER_ADDR_1 0b0110000
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 108
|
||||
#define RGB_MATRIX_LED_COUNT 108
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
#include "rgb.h"
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */
|
||||
{0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */
|
||||
{0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */
|
||||
|
@@ -86,7 +86,7 @@
|
||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
#define DRIVER_ADDR_1 0b0110000
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 109
|
||||
#define RGB_MATRIX_LED_COUNT 109
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
#include "rgb_iso.h"
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */
|
||||
{0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */
|
||||
{0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */
|
||||
|
@@ -43,7 +43,7 @@
|
||||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
# define DRIVER_ADDR_1 0b0110000
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 83
|
||||
# define RGB_MATRIX_LED_COUNT 83
|
||||
# define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS21_SW1, CS20_SW1, CS19_SW1},
|
||||
{0, CS21_SW2, CS20_SW2, CS19_SW2},
|
||||
{0, CS21_SW3, CS20_SW3, CS19_SW3},
|
||||
|
@@ -69,4 +69,4 @@
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 35
|
||||
#define DRIVER_2_LED_TOTAL 32
|
||||
#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "v1.h"
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
|
||||
{0, C8_8, C7_8, C6_8}, // LA17
|
||||
{0, C9_8, C7_7, C6_7}, // LA16
|
||||
|
@@ -68,5 +68,5 @@
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 35
|
||||
# define DRIVER_2_LED_TOTAL 32
|
||||
# define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
#endif
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "v2.h"
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
|
||||
{0, C8_8, C7_8, C6_8}, // LA17
|
||||
{0, C9_8, C7_7, C6_7}, // LA16
|
||||
|
@@ -89,6 +89,6 @@
|
||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
#define DRIVER_ADDR_1 0b0110000
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 67
|
||||
#define RGB_MATRIX_LED_COUNT 67
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS21_SW1, CS20_SW1, CS19_SW1},
|
||||
{0, CS21_SW2, CS20_SW2, CS19_SW2},
|
||||
{0, CS21_SW3, CS20_SW3, CS19_SW3},
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#define RGB_DI_PIN C7
|
||||
#define RGBLED_NUM 68
|
||||
#define DRIVER_LED_TOTAL RGBLED_NUM
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -32,7 +32,7 @@
|
||||
#define USB_SUSPEND_WAKEUP_DELAY 5000
|
||||
|
||||
#define RGB_DI_PIN C7
|
||||
#define DRIVER_LED_TOTAL 68
|
||||
#define RGB_MATRIX_LED_COUNT 68
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
|
@@ -34,7 +34,7 @@
|
||||
|
||||
#define RGB_DI_PIN C7
|
||||
#define RGBLED_NUM 84
|
||||
#define DRIVER_LED_TOTAL RGBLED_NUM
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -81,5 +81,5 @@
|
||||
|
||||
#define DRIVER_ADDR_1 0b1010000
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 52
|
||||
#define RGB_MATRIX_LED_COUNT 52
|
||||
#endif
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#include "kbdmini.h"
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{ 0, B_9, A_9, C_9 }, //LA33
|
||||
{ 0, B_10, A_10, C_10 }, //LA37
|
||||
{ 0, B_11, A_11, C_11 }, //LA41
|
||||
|
@@ -69,4 +69,4 @@
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 36
|
||||
#define DRIVER_2_LED_TOTAL 31
|
||||
#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#include "maja.h"
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, C2_1, C3_1, C4_1}, // LA0
|
||||
{0, C1_1, C3_2, C4_2}, // LA1
|
||||
{0, C1_2, C2_2, C4_3}, // LA2
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
#define DEBOUNCE 5
|
||||
#define RGBLED_NUM 110
|
||||
#define DRIVER_LED_TOTAL 110
|
||||
#define RGB_MATRIX_LED_COUNT 110
|
||||
#define RGB_DI_PIN B15
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
Reference in New Issue
Block a user