mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-12 22:44:11 +00:00
Deploying to gh-pages from @ qmk/qmk_firmware@624d92e2f5 🚀
This commit is contained in:
parent
2ebc0a2881
commit
3fa85c884f
@ -305,7 +305,8 @@ void x_finished(qk_tap_dance_state_t *state, void *user_data) {
|
||||
// Last case is for fast typing. Assuming your key is `f`:
|
||||
// For example, when typing the word `buffer`, and you want to make sure that you send `ff` and not `Esc`.
|
||||
// In order to type `ff` when typing fast, the next character will have to be hit within the `TAPPING_TERM`, which by default is 200ms.
|
||||
case TD_DOUBLE_SINGLE_TAP: tap_code(KC_X); register_code(KC_X);
|
||||
case TD_DOUBLE_SINGLE_TAP: tap_code(KC_X); register_code(KC_X); break;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -314,8 +315,9 @@ void x_reset(qk_tap_dance_state_t *state, void *user_data) {
|
||||
case TD_SINGLE_TAP: unregister_code(KC_X); break;
|
||||
case TD_SINGLE_HOLD: unregister_code(KC_LCTL); break;
|
||||
case TD_DOUBLE_TAP: unregister_code(KC_ESC); break;
|
||||
case TD_DOUBLE_HOLD: unregister_code(KC_LALT);
|
||||
case TD_DOUBLE_SINGLE_TAP: unregister_code(KC_X);
|
||||
case TD_DOUBLE_HOLD: unregister_code(KC_LALT); break;
|
||||
case TD_DOUBLE_SINGLE_TAP: unregister_code(KC_X); break;
|
||||
default: break;
|
||||
}
|
||||
xtap_state.state = TD_NONE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user