summaryrefslogtreecommitdiff
path: root/quantum/action.h
diff options
context:
space:
mode:
authorPascal Getreuer <50221757+getreuer@users.noreply.github.com>2025-04-14 09:46:24 -0700
committerGitHub <noreply@github.com>2025-04-14 09:46:24 -0700
commit8d8dcb089ed36e7e1a61d77e5a4b6b08c8668869 (patch)
treeb5aa66a32a42e5d1288e8a5751e94cba4ce06350 /quantum/action.h
parenta7bf8e64a584c9a0930f4aa701a09a6e1de7e117 (diff)
[Core] Flow Tap tap-hold option to disable HRMs during fast typing (#25125)
aka Global Quick Tap, Require Prior Idle
Diffstat (limited to 'quantum/action.h')
-rw-r--r--quantum/action.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/action.h b/quantum/action.h
index 7596688f31..7616486c6d 100644
--- a/quantum/action.h
+++ b/quantum/action.h
@@ -128,6 +128,12 @@ void layer_switch(uint8_t new_layer);
128bool is_tap_record(keyrecord_t *record); 128bool is_tap_record(keyrecord_t *record);
129bool is_tap_action(action_t action); 129bool is_tap_action(action_t action);
130 130
131/**
132 * Given an MT or LT keycode, returns the tap keycode. Otherwise returns the
133 * original keycode unchanged.
134 */
135uint16_t get_tap_keycode(uint16_t keycode);
136
131#ifndef NO_ACTION_TAPPING 137#ifndef NO_ACTION_TAPPING
132void process_record_tap_hint(keyrecord_t *record); 138void process_record_tap_hint(keyrecord_t *record);
133#endif 139#endif