mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-01 21:24:16 -04:00
improvement: better quick_tap settings
This commit is contained in:
parent
07618b6b4f
commit
578e5adad8
2 changed files with 2 additions and 3 deletions
|
@ -53,5 +53,6 @@
|
||||||
#define TAPPING_TERM_PER_KEY
|
#define TAPPING_TERM_PER_KEY
|
||||||
#define PERMISSIVE_HOLD_PER_KEY
|
#define PERMISSIVE_HOLD_PER_KEY
|
||||||
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
|
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
|
||||||
|
#define TAPPING_TERM 220
|
||||||
#define QUICK_TAP_TERM_PER_KEY
|
#define QUICK_TAP_TERM_PER_KEY
|
||||||
|
|
||||||
|
|
|
@ -368,7 +368,7 @@ uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case SHFTT:
|
case SHFTT:
|
||||||
case SHFTA:
|
case SHFTA:
|
||||||
return 150;
|
return 130;
|
||||||
default:
|
default:
|
||||||
return QUICK_TAP_TERM;
|
return QUICK_TAP_TERM;
|
||||||
}
|
}
|
||||||
|
@ -378,8 +378,6 @@ bool get_permissive_hold(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case CK_LWR:
|
case CK_LWR:
|
||||||
case CK_RSE:
|
case CK_RSE:
|
||||||
case SHFTT:
|
|
||||||
case SHFTA:
|
|
||||||
// Immediately select the hold action when another key is tapped.
|
// Immediately select the hold action when another key is tapped.
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue