diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2022-04-16 20:24:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 11:24:09 -0700 |
commit | 8f585153c470b07bb0c529ff49b39ef45f68d37e (patch) | |
tree | 5441986fa041cd2d966b800af3f82d69b55e4d58 /keyboards/atlantis/encoder_actions.h | |
parent | cad0af09a8a280d918b726eb472c86065dc5c079 (diff) |
Add GET_TAPPING_TERM macro to reduce duplicate code (#16681)
* 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>
Diffstat (limited to 'keyboards/atlantis/encoder_actions.h')
0 files changed, 0 insertions, 0 deletions