diff options
| -rw-r--r-- | users/rverst/rverst.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/users/rverst/rverst.c b/users/rverst/rverst.c index 4e8aa43e4..0524c6011 100644 --- a/users/rverst/rverst.c +++ b/users/rverst/rverst.c | |||
| @@ -138,10 +138,14 @@ void eeconfig_init_user(void) { | |||
| 138 | __attribute__((weak)) bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { return true; } | 138 | __attribute__((weak)) bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { return true; } |
| 139 | 139 | ||
| 140 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 140 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 141 | if (process_record_keymap(keycode, record)) { | 141 | if (!process_record_keymap(keycode, record)) { |
| 142 | return false; | 142 | return false; |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | if (!record->event.pressed) { | ||
| 146 | return true; | ||
| 147 | } | ||
| 148 | |||
| 145 | bool ls = (get_mods() | get_weak_mods()) & MOD_BIT(KC_LSFT); | 149 | bool ls = (get_mods() | get_weak_mods()) & MOD_BIT(KC_LSFT); |
| 146 | bool rs = (get_mods() | get_weak_mods()) & MOD_BIT(KC_RSFT); | 150 | bool rs = (get_mods() | get_weak_mods()) & MOD_BIT(KC_RSFT); |
| 147 | bool as = ls || rs; | 151 | bool as = ls || rs; |
