mirror of
https://github.com/qmk/qmk_userspace.git
synced 2026-07-30 13:14:18 -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 NUM_SPC:
|
||||||
case NAV_ENT:
|
case NAV_ENT:
|
||||||
case GUI_LAUNCH:
|
case GUI_LAUNCH:
|
||||||
case LT(_FUNC, KC_MPLY): // no repeat tapping when tapped and then held for these keys
|
case LT(_FUNC, KC_MPLY):
|
||||||
return 0;
|
return 0; // no repeat tapping when tapped and then held for these keys
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return QUICK_TAP_TERM;
|
return QUICK_TAP_TERM;
|
||||||
|
|
@ -42,6 +42,8 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t* record) {
|
||||||
case GUI_LAUNCH:
|
case GUI_LAUNCH:
|
||||||
return 400;
|
return 400;
|
||||||
break;
|
break;
|
||||||
|
case SFT_SFT:
|
||||||
|
return get_mods() & MOD_MASK_ALT ? TAPPING_TERM : 0;
|
||||||
default:
|
default:
|
||||||
return TAPPING_TERM;
|
return TAPPING_TERM;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue