summaryrefslogtreecommitdiff
path: root/quantum/action_tapping.c
AgeCommit message (Collapse)Author
2023-05-10Fix Mod-Tap combo regression (#20669)Pete Sevander
* Add keyevent for combo keyrecord * Fix formatting * Update quantum/process_keycode/process_combo.c Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Add combo unit-tests and hot-fix process_record_tap_hint ...as this function tries to lookup the combo keys passed in. This will be refactored in a later pr. --------- Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2023-04-03[Core] Refactor `keyevent_t` for 1ms timing resolution (#15847)Stefan Kerkmann
2023-04-03Make IGNORE_MOD_TAP_INTERRUPT the default behaviour for mod-taps (#20211)precondition
2023-02-22[Bug] Fix compilation error when defining QUICK_TAP_TERM_PER_KEY (#19893)precondition
2023-02-10Tidy up use of keycode range helpers (#19756)Joel Challis
2022-12-17Introduce IS_EVENT instead of !IS_NOEVENT (#19366)Stefan Kerkmann
2022-12-15[Core] guard action related debug messages (#19348)Stefan Kerkmann
2022-12-15[Test] Reset timer for every unit test and provide timestamps for log ↵Stefan Kerkmann
messages (#17028)
2022-12-13Remove IGNORE_MOD_TAP_INTERRUPT_PER_KEY in favour of ↵precondition
HOLD_ON_OTHER_KEY_PRESS_PER_KEY (#15741)
2022-12-12[Core] Replace Tapping Force Hold feature with Quick Tap Term (#17007)Albert Y
* Replace Tapping Force Hold feature with Quick Tap Term * Replace keyboard level TAPPING_FORCE_HOLD with QUICK_TAP_TERM 0 * Deprecate force hold in info_config.json * Before and after quick tap term unit tests * Quick tap unit tests iteration * Keymap config.h correction * Remove TAPPING_FORCE_HOLD_PER_KEY macros that were missed * Add two more test cases for quick tap * Replace TAPPING_FORCE_HOLD with QUICK_TAP_TERM in configs #2 * Replace TAPPING_FORCE_HOLD_PER_KEY with QUICK_TAP_TERM_PER_KEY in configs #2 * Add function declaration for get_quick_tap_term Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-11-28Bug17281 - Retain momentary layers until the end of tapping (#17282)Felix Kuehling
* Make process_tapping more readable Move most #ifdefs into conditionally defined macros to make the logic easier to follow. * Retain momentary layers until the end of tapping This allows mod-tap and layer-tap keys on layers to behave as expected. Bug: https://github.com/qmk/qmk_firmware/issues/17281 * Add tests for delayed mod/layer release while tapping Mods and layer key release is delayed while tapping is in progress to ensure that the tap is registered with the modifier state and on the layer where the key was first pressed. Signed-off-by: Felix Kuehling <felix.kuehling@gmail.com>
2022-06-24Do not enable PERMISSIVE_HOLD when TAPPING_TERM exceeds 500ms (#15674)precondition
2022-04-16Add GET_TAPPING_TERM macro to reduce duplicate code (#16681)Jouke Witteveen
* Add GET_TAPPING_TERM macro to reduce duplicate code The macro gives the right tapping term depending on whether per-key tapping terms and/or dynamic tapping terms are enabled. Unnecessary function calls and variable resolution are avoided. Fixes #16472. * Use GET_TAPPING_TERM for Cirque trackpads Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-03-10Missed some erroneous prints. (#16597)Nick Brassel
2022-02-12Format code according to conventions (#16322)QMK Bot
2022-02-11Pass in the keyrecord_t of the dual-role/tapping key when calling per-key ↵precondition
tap hold functions (#15938) * Replace keyp by &tapping_key in the record arg of per-key tap hold funcs * Replace NULL by &(keyrecord_t){} in 2nd arg of get_tapping_term
2021-11-28Fix HOLD_ON_OTHER_KEY_PRESS after #11059 (#15307)Stefan Kerkmann
that broke compilation because of a typo: KEYPRESS should have been KEY_PRESS
2021-11-26New feature: `DYNAMIC_TAPPING_TERM_ENABLE` (#11036)precondition
* 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
2021-11-25Add Retro Shift (Auto Shift for Tap Hold via Retro Tapping) and Custom Auto ↵Isaac Elenbaas
Shifts (#11059) * Add Retro Shift and Custom Auto Shifts * Fix compilation errors with no RETRO_SHIFT value
2021-11-01Manually format develop (#15003)Joel Challis
2021-08-25Revert 14083 && 14144 (#14150)Joel Challis
* Revert "Short term bodge for firmware size bloat (#14144)" This reverts commit a8d65473461c337fb1e168d907bfb8c3ac8fdbd0. * Revert "Tidy up quantum.c now some of tmk_core has been merged (#14083)" This reverts commit c4dbf4bf0118dd785802861beb247433b5b7411d.
2021-08-24Short term bodge for firmware size bloat (#14144)Joel Challis
2021-08-24Tidy up quantum.c now some of tmk_core has been merged (#14083)Joel Challis
2021-08-18Migrate platform independent code from tmk_core -> quantum (#13673)Joel Challis
* Migrate action|keyboard|keycode|eeconfig from tmk_core -> quantum