summaryrefslogtreecommitdiff
path: root/keyboard/ergodox_ez/keymaps/ordinary/keymap.c
diff options
context:
space:
mode:
authorNicholas Keene <git@nicholaskeene.com>2016-05-05 23:18:48 -0500
committerNicholas Keene <git@nicholaskeene.com>2016-05-05 23:18:48 -0500
commit481c74cc569e47d42c7dfa55daa1f33d066eaef4 (patch)
treea9bbe8d7ab356a2963c636a2d80bb02777307a32 /keyboard/ergodox_ez/keymaps/ordinary/keymap.c
parent90a65347294e93ee23c1f24c6ae342a42e6c2b29 (diff)
The Ordinary Layout is the layout you are looking for. Come and see.
Diffstat (limited to 'keyboard/ergodox_ez/keymaps/ordinary/keymap.c')
-rw-r--r--keyboard/ergodox_ez/keymaps/ordinary/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/ergodox_ez/keymaps/ordinary/keymap.c b/keyboard/ergodox_ez/keymaps/ordinary/keymap.c
index 6af3720fdc..18939b1923 100644
--- a/keyboard/ergodox_ez/keymaps/ordinary/keymap.c
+++ b/keyboard/ergodox_ez/keymaps/ordinary/keymap.c
@@ -430,7 +430,7 @@ void matrix_init_user(void) {
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
// shift or caps lock turns on red light
- if((keyboard_report->mods & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT))) || (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK))) {
+ if(caps_shift || (keyboard_report->mods & MOD_BIT(KC_RSFT)) || (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK))) {
ergodox_right_led_1_on();
} else {
ergodox_right_led_1_off();