diff options
author | jack <0x6A73@pm.me> | 2022-04-22 05:50:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 21:50:11 +1000 |
commit | d9737349769a8bd2198733a81c1c74bd7db82c3a (patch) | |
tree | 31c5384ff2cff3ed6c92d89769129948e4b290a3 /keyboards/idobao/id67/keymaps | |
parent | 802095097616abfa9ef9e91419fbbda2dcdf65e1 (diff) | |
download | qmk_firmware-d9737349769a8bd2198733a81c1c74bd7db82c3a.tar.gz qmk_firmware-d9737349769a8bd2198733a81c1c74bd7db82c3a.zip |
Fix id67 RGB Matrix (#16916)
Diffstat (limited to 'keyboards/idobao/id67/keymaps')
-rw-r--r-- | keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c b/keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c index 62fd4cfa8f..2a42295b97 100644 --- a/keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c +++ b/keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c @@ -121,7 +121,7 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { if (host_keyboard_led_state().caps_lock) { if (isRGBOff) { - rgb_matrix_set_color(ID67_CAPS_LOCK_KEY_INDEX, v, v, v); // white + rgb_matrix_set_color(23, v, v, v); // white } else { // Caps Lock key/LED if (timer_elapsed(recording_timer) > 500) { @@ -129,7 +129,7 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { recording_timer = timer_read(); } if (isCapsBlink) { - rgb_matrix_set_color(ID67_CAPS_LOCK_KEY_INDEX, v, v, v); // white + rgb_matrix_set_color(23, v, v, v); // white } // Alpha keys/LEDs @@ -144,7 +144,7 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { uint8_t g = 0; uint8_t b = 0; - if ((g_led_config.flags[ID67_CAPS_LOCK_KEY_INDEX] & LED_FLAG_LAYER_IND) != 0) { + if ((g_led_config.flags[23] & LED_FLAG_LAYER_IND) != 0) { switch (current_layer) { case LAYER_1: b = v; break; // blue case LAYER_2: g = v; break; // green @@ -152,7 +152,7 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { } } - rgb_matrix_set_color(ID67_CAPS_LOCK_KEY_INDEX, r, g, b); // off + rgb_matrix_set_color(23, r, g, b); // off } // Layer indicator stuff |