Fix ik75 scroll lock and windows lock status LEDs (#20380)
This commit is contained in:
parent
e126793d95
commit
83bcfde106
3 changed files with 6 additions and 6 deletions
|
@ -195,8 +195,8 @@ bool rgb_matrix_indicators_user(void) {
|
|||
rgb_matrix_set_color(104, 0, 0, 0);
|
||||
|
||||
uint8_t red = host_keyboard_led_state().caps_lock ? 255 : 0;
|
||||
uint8_t green = host_keyboard_led_state().scroll_lock ? 255 : 0;
|
||||
uint8_t blue = keymap_config.no_gui ? 255 : 0;
|
||||
uint8_t blue = host_keyboard_led_state().scroll_lock ? 255 : 0;
|
||||
uint8_t green = keymap_config.no_gui ? 255 : 0;
|
||||
|
||||
|
||||
if ((rgb_matrix_get_flags() & LED_FLAG_KEYLIGHT)) {
|
||||
|
|
|
@ -139,8 +139,8 @@ bool rgb_matrix_indicators_user(void) {
|
|||
rgb_matrix_set_color(104, 0, 0, 0);
|
||||
|
||||
uint8_t red = host_keyboard_led_state().caps_lock ? 255 : 0;
|
||||
uint8_t green = host_keyboard_led_state().scroll_lock ? 255 : 0;
|
||||
uint8_t blue = keymap_config.no_gui ? 255 : 0;
|
||||
uint8_t blue = host_keyboard_led_state().scroll_lock ? 255 : 0;
|
||||
uint8_t green = keymap_config.no_gui ? 255 : 0;
|
||||
|
||||
|
||||
if ((rgb_matrix_get_flags() & LED_FLAG_KEYLIGHT)) {
|
||||
|
|
|
@ -195,8 +195,8 @@ bool rgb_matrix_indicators_user(void) {
|
|||
rgb_matrix_set_color(104, 0, 0, 0);
|
||||
|
||||
uint8_t red = host_keyboard_led_state().caps_lock ? 255 : 0;
|
||||
uint8_t green = host_keyboard_led_state().scroll_lock ? 255 : 0;
|
||||
uint8_t blue = keymap_config.no_gui ? 255 : 0;
|
||||
uint8_t blue = host_keyboard_led_state().scroll_lock ? 255 : 0;
|
||||
uint8_t green = keymap_config.no_gui ? 255 : 0;
|
||||
|
||||
|
||||
if ((rgb_matrix_get_flags() & LED_FLAG_KEYLIGHT)) {
|
||||
|
|
Loading…
Reference in a new issue