mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 09:55:48 +00:00
[Keyboard] Fixed RGB number for Devil68 Pro (#16003)
This commit is contained in:
parent
1bc1b1b313
commit
812836e22f
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ led_config_t g_led_config = { {
|
||||||
{ 15, NO_LED, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 },
|
{ 15, NO_LED, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 },
|
||||||
{ 30, NO_LED, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, NO_LED, 43 },
|
{ 30, NO_LED, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, NO_LED, 43 },
|
||||||
{ NO_LED, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, NO_LED, 55, 56, 57 },
|
{ NO_LED, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, NO_LED, 55, 56, 57 },
|
||||||
{ 58, 59, NO_LED, 60, NO_LED, NO_LED, 61, NO_LED, NO_LED, NO_LED, 64, 62, 63, 65, 66, 67 }
|
{ 58, 59, NO_LED, 60, NO_LED, NO_LED, 61, NO_LED, NO_LED, NO_LED, 62, 63, 64, 65, 66, 67 }
|
||||||
}, {
|
}, {
|
||||||
// Key matrix (0 -> 67)
|
// Key matrix (0 -> 67)
|
||||||
{0 , 0}, {15 , 0}, {30 , 0}, {45 , 0}, {60 , 0}, {75 , 0}, {90 , 0}, {105, 0}, {120, 0}, {135, 0}, {150, 0}, {165, 0}, {180, 0}, {202, 0}, {224, 0},
|
{0 , 0}, {15 , 0}, {30 , 0}, {45 , 0}, {60 , 0}, {75 , 0}, {90 , 0}, {105, 0}, {120, 0}, {135, 0}, {150, 0}, {165, 0}, {180, 0}, {202, 0}, {224, 0},
|
||||||
|
|
|
@ -107,7 +107,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
void keyboard_post_init_kb(void) {
|
void keyboard_post_init_user(void) {
|
||||||
user_config.raw = eeconfig_read_user();
|
user_config.raw = eeconfig_read_user();
|
||||||
switch (user_config.rgb_mode) {
|
switch (user_config.rgb_mode) {
|
||||||
case RGB_MODE_ALL:
|
case RGB_MODE_ALL:
|
||||||
|
|
|
@ -107,7 +107,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
void keyboard_post_init_kb(void) {
|
void keyboard_post_init_user(void) {
|
||||||
user_config.raw = eeconfig_read_user();
|
user_config.raw = eeconfig_read_user();
|
||||||
switch (user_config.rgb_mode) {
|
switch (user_config.rgb_mode) {
|
||||||
case RGB_MODE_ALL:
|
case RGB_MODE_ALL:
|
||||||
|
|
Loading…
Reference in a new issue