diff options
| author | precondition <57645186+precondition@users.noreply.github.com> | 2021-11-25 20:06:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-26 07:06:50 +1100 |
| commit | 4bac5f53d864a77a6f0fa8a2a046ed7748824ecc (patch) | |
| tree | 75153ff862bdb0644e9d7622c1b80517e10a30f8 /quantum/action_tapping.h | |
| parent | 5e9c29da0df045b03ada9278c34f37b22349a6f7 (diff) | |
| download | qmk_firmware-4bac5f53d864a77a6f0fa8a2a046ed7748824ecc.tar.gz qmk_firmware-4bac5f53d864a77a6f0fa8a2a046ed7748824ecc.zip | |
New feature: `DYNAMIC_TAPPING_TERM_ENABLE` (#11036)
* New feature: `DYNAMIC_TAPPING_TERM_ENABLE`
3 new quantum keys to configure the tapping term on the fly.
* Replace sprintf call in tapping_term_report by get_u16_str
* Replace tab with 4 spaces
Diffstat (limited to 'quantum/action_tapping.h')
| -rw-r--r-- | quantum/action_tapping.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/action_tapping.h b/quantum/action_tapping.h index 7de8049c7..b2feb6850 100644 --- a/quantum/action_tapping.h +++ b/quantum/action_tapping.h | |||
| @@ -33,10 +33,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache); | 33 | uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache); |
| 34 | uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache); | 34 | uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache); |
| 35 | void action_tapping_process(keyrecord_t record); | 35 | void action_tapping_process(keyrecord_t record); |
| 36 | #endif | ||
| 36 | 37 | ||
| 37 | uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record); | 38 | uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record); |
| 38 | bool get_permissive_hold(uint16_t keycode, keyrecord_t *record); | 39 | bool get_permissive_hold(uint16_t keycode, keyrecord_t *record); |
| 39 | bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record); | 40 | bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record); |
| 40 | bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record); | 41 | bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record); |
| 41 | bool get_retro_tapping(uint16_t keycode, keyrecord_t *record); | 42 | bool get_retro_tapping(uint16_t keycode, keyrecord_t *record); |
| 43 | |||
| 44 | #ifdef DYNAMIC_TAPPING_TERM_ENABLE | ||
| 45 | extern uint16_t g_tapping_term; | ||
| 42 | #endif | 46 | #endif |
