Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
CapsLock -> CapsWord
Browse files Browse the repository at this point in the history
  • Loading branch information
pe committed Feb 13, 2024
1 parent 9720537 commit 9ddf162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {

bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
// RGB_MATRIX_INDICATOR_SET_COLOR(index, red, green, blue);
if (host_keyboard_led_state().caps_lock) {
if (host_keyboard_led_state().caps_lock || is_caps_word_on()) {
RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_LED_INDEX, 255, 0, 0);
} else {
if (!rgb_matrix_get_flags()) {
Expand Down

0 comments on commit 9ddf162

Please sign in to comment.