mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-09-19 18:31:29 -04:00
Fix HoldOnOtherKeyPress function
This commit is contained in:
parent
7d9cdda9a0
commit
930050e3b8
1 changed files with 3 additions and 3 deletions
|
@ -329,8 +329,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
# ifdef QUICK_TAP_TERM_PER_KEY
|
||||
uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case RSFT_T(KC_SPC):
|
||||
return 0; // no repeat. Was: QUICK_TAP_TERM - 20
|
||||
case SFT_SPC:
|
||||
return 0; // no repeat
|
||||
default:
|
||||
return QUICK_TAP_TERM;
|
||||
}
|
||||
|
@ -342,7 +342,7 @@ uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
|
|||
# ifdef HOLD_ON_OTHER_KEY_PRESS_PER_KEY
|
||||
bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case RSFT_T(KC_SPC):
|
||||
case SFT_ENT:
|
||||
// Immediately select the hold action when another key is pressed.
|
||||
return true;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue