From a0e4ebaaea7954a1798144fc46a694edb4c8623b Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 6 May 2024 19:22:06 -0500 Subject: [PATCH] Maybe I needed a del one shot mods to make this work right --- users/t4corun/t4corun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/t4corun/t4corun.c b/users/t4corun/t4corun.c index 4a594172..3eeed88f 100644 --- a/users/t4corun/t4corun.c +++ b/users/t4corun/t4corun.c @@ -49,8 +49,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { uint8_t current_mod = get_mods(); uint8_t current_osm = get_oneshot_mods(); - if ((current_mod | current_osm) & MOD_MASK_SHIFT ) { + if ((current_mod | current_osm) & MOD_MASK_SHIFT) { del_mods(MOD_MASK_SHIFT); + det_oneshot_mods(MOD_MASK_SHIFT); register_code(KC_DEL); delkey_registered = true; set_mods(current_mod);