forked from mirrors/qmk_userspace
Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
parent
d967de0df7
commit
36c410592d
577 changed files with 836 additions and 831 deletions
|
@ -23,4 +23,4 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 59
|
||||
#define DRIVER_2_LED_TOTAL 23
|
||||
#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)
|
|
@ -18,7 +18,7 @@
|
|||
#include "rgb_matrix_user.h"
|
||||
#include "keymap_user.h"
|
||||
|
||||
keypos_t led_index_key_position[DRIVER_LED_TOTAL];
|
||||
keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT];
|
||||
|
||||
void rgb_matrix_init_user(void) {
|
||||
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "rgb_matrix_user.h"
|
||||
#include "keymap_user.h"
|
||||
|
||||
keypos_t led_index_key_position[DRIVER_LED_TOTAL];
|
||||
keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT];
|
||||
|
||||
void rgb_matrix_init_user(void) {
|
||||
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "rgb_matrix_user.h"
|
||||
#include "keymap_user.h"
|
||||
|
||||
keypos_t led_index_key_position[DRIVER_LED_TOTAL];
|
||||
keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT];
|
||||
|
||||
void rgb_matrix_init_user(void) {
|
||||
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "quantum.h"
|
||||
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 59
|
||||
#define DRIVER_2_LED_TOTAL 23
|
||||
#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)
|
||||
|
||||
/* Encoder used pins */
|
||||
#define ENCODERS_PAD_A { E6 }
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "quantum.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] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 59
|
||||
#define DRIVER_2_LED_TOTAL 24
|
||||
#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)
|
|
@ -18,7 +18,7 @@
|
|||
#include "rgb_matrix_user.h"
|
||||
#include "keymap_user.h"
|
||||
|
||||
keypos_t led_index_key_position[DRIVER_LED_TOTAL];
|
||||
keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT];
|
||||
|
||||
void rgb_matrix_init_user(void) {
|
||||
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "rgb_matrix_user.h"
|
||||
#include "keymap_user.h"
|
||||
|
||||
keypos_t led_index_key_position[DRIVER_LED_TOTAL];
|
||||
keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT];
|
||||
|
||||
void rgb_matrix_init_user(void) {
|
||||
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "quantum.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] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 34
|
||||
#define DRIVER_2_LED_TOTAL 33
|
||||
#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)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "rgb_matrix_user.h"
|
||||
#include "keymap_user.h"
|
||||
|
||||
keypos_t led_index_key_position[DRIVER_LED_TOTAL];
|
||||
keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT];
|
||||
|
||||
void rgb_matrix_init_user(void) {
|
||||
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = {
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to CKLED manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 34
|
||||
#define DRIVER_2_LED_TOTAL 33
|
||||
#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)
|
||||
|
||||
/* Encoder used pins */
|
||||
#define ENCODERS_PAD_A { A10 }
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = {
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to CKLED manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 34
|
||||
#define DRIVER_2_LED_TOTAL 34
|
||||
#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)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = {
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 34
|
||||
#define DRIVER_2_LED_TOTAL 34
|
||||
#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)
|
||||
|
||||
/* Encoder used pins */
|
||||
#define ENCODERS_PAD_A { A10 }
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = {
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue