Skip to content

Commit

Permalink
Fix ik75 scroll lock and windows lock status LEDs (qmk#20380)
Browse files Browse the repository at this point in the history
  • Loading branch information
jestercore authored and jesperhellberg committed Jul 30, 2023
1 parent ff578c7 commit caa7d50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions keyboards/feker/ik75/keymaps/bkzshen/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
4 changes: 2 additions & 2 deletions keyboards/feker/ik75/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
4 changes: 2 additions & 2 deletions keyboards/feker/ik75/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit caa7d50

Please sign in to comment.