Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scroll lock and windows lock status LEDs #20380

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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