mirror of
https://github.com/qmk/qmk_userspace.git
synced 2026-07-30 05:04:19 -04:00
Figured out the shift problem. Shift now triggers immediately when held, but also acts as a mod-tap when alt is held
This commit is contained in:
parent
6dbe325f2a
commit
4ad07df9ff
1 changed files with 4 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t* record) {
|
|||
case NUM_SPC:
|
||||
case NAV_ENT:
|
||||
case GUI_LAUNCH:
|
||||
case LT(_FUNC, KC_MPLY): // no repeat tapping when tapped and then held for these keys
|
||||
return 0;
|
||||
case LT(_FUNC, KC_MPLY):
|
||||
return 0; // no repeat tapping when tapped and then held for these keys
|
||||
break;
|
||||
default:
|
||||
return QUICK_TAP_TERM;
|
||||
|
|
@ -42,6 +42,8 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t* record) {
|
|||
case GUI_LAUNCH:
|
||||
return 400;
|
||||
break;
|
||||
case SFT_SFT:
|
||||
return get_mods() & MOD_MASK_ALT ? TAPPING_TERM : 0;
|
||||
default:
|
||||
return TAPPING_TERM;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue