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) |
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 7de8049c7f..b2feb6850c 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/>. uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache); uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache); void action_tapping_process(keyrecord_t record); +#endif uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record); bool get_permissive_hold(uint16_t keycode, keyrecord_t *record); bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record); bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record); bool get_retro_tapping(uint16_t keycode, keyrecord_t *record); + +#ifdef DYNAMIC_TAPPING_TERM_ENABLE +extern uint16_t g_tapping_term; #endif |