aboutsummaryrefslogtreecommitdiff
path: root/quantum/action_tapping.h
diff options
context:
space:
mode:
authorprecondition <57645186+precondition@users.noreply.github.com>2021-11-25 20:06:50 +0000
committerGitHub <noreply@github.com>2021-11-26 07:06:50 +1100
commit4bac5f53d864a77a6f0fa8a2a046ed7748824ecc (patch)
tree75153ff862bdb0644e9d7622c1b80517e10a30f8 /quantum/action_tapping.h
parent5e9c29da0df045b03ada9278c34f37b22349a6f7 (diff)
downloadqmk_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.h4
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/>.
33uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache); 33uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache);
34uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache); 34uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache);
35void action_tapping_process(keyrecord_t record); 35void action_tapping_process(keyrecord_t record);
36#endif
36 37
37uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record); 38uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record);
38bool get_permissive_hold(uint16_t keycode, keyrecord_t *record); 39bool get_permissive_hold(uint16_t keycode, keyrecord_t *record);
39bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record); 40bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record);
40bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record); 41bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record);
41bool get_retro_tapping(uint16_t keycode, keyrecord_t *record); 42bool get_retro_tapping(uint16_t keycode, keyrecord_t *record);
43
44#ifdef DYNAMIC_TAPPING_TERM_ENABLE
45extern uint16_t g_tapping_term;
42#endif 46#endif