mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
Fix ik75 scroll lock and windows lock status LEDs (#20380)
This commit is contained in:
parent
e126793d95
commit
83bcfde106
|
@ -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 New Issue
Block a user