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 8c813ae commit 7f314ce
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
return false;
}

void caps_word_set_user(bool active) {
if (active) {
RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_LED_INDEX, 255, 0, 0);
} else {
RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_LED_INDEX, 0, 0, 0);
}
}

bool caps_word_press_user(uint16_t keycode) {
switch (keycode) {
// Keycodes that continue Caps Word, with shift applied.
Expand All @@ -120,4 +112,4 @@ bool caps_word_press_user(uint16_t keycode) {
default:
return false; // Deactivate Caps Word.
}
}
}

0 comments on commit 7f314ce

Please sign in to comment.