Fix ik75 scroll lock and windows lock status LEDs (#20380)

This commit is contained in:
jestercore 2023-07-25 09:13:55 +06:00 committed by GitHub
parent e126793d95
commit 83bcfde106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -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)) {

View file

@ -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)) {

View file

@ -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)) {