summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-04-03 05:06:28 +0000
committerQMK Bot <hello@qmk.fm>2021-04-03 05:06:28 +0000
commit655927ab157ea0bbf680ec5e75ee1cdc1036968f (patch)
treedf58e72799f244a9db5f8a2755e0eb3dd95fd49c
parent051e23c7824eda93c542e2edfb7411167172080f (diff)
parent79a87a9c2bd808a6e7a5ef5250739850c4105c30 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--users/rverst/rverst.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/rverst/rverst.c b/users/rverst/rverst.c
index 4e8aa43e4d..0524c6011d 100644
--- a/users/rverst/rverst.c
+++ b/users/rverst/rverst.c
@@ -138,10 +138,14 @@ void eeconfig_init_user(void) {
__attribute__((weak)) bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { return true; }
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (process_record_keymap(keycode, record)) {
+ if (!process_record_keymap(keycode, record)) {
return false;
}
+ if (!record->event.pressed) {
+ return true;
+ }
+
bool ls = (get_mods() | get_weak_mods()) & MOD_BIT(KC_LSFT);
bool rs = (get_mods() | get_weak_mods()) & MOD_BIT(KC_RSFT);
bool as = ls || rs;