summaryrefslogtreecommitdiff
path: root/tmk_core/common/action.h
AgeCommit message (Collapse)Author
2018-03-16Fix swap-hands tapping.Joe Wasson
This is an inelegant hack for #2522 but makes things work. Basically we give `action.c` a chance to handle the hold event early so that we can swap the keyboard for later keys. Later, to allow the hold to happen again quickly we nuke the key record so that tapping is reset. I tried to find a cleaner way, honestly.
2018-03-16Rename ONEHAND_ENABLE to SWAP_HANDS_ENABLE for consistencyJoe Wasson
2016-08-20Add one-hand support.Joe Wasson
This adds an action, `ACTION_SWAP_HANDS`, that swaps the the keys on the keyboard across a keymap-defined hemisphere in order to support one-hand typing without requiring a separate one-handed layer. See updated `doc/keymap.md` for more information.
2016-05-15splits process_action up to handle records separately (#329)Jack Humbert
* implements leader key for planck experimental * allows override of leader timeout * adds ability to use the leader key in seq * fixes leader keycode * adds chording prototype * fixes keycode detection * moves music mode to quantum.c * disables chording by default * adds music sequencer functionality * implements audio/music functions in quantum.c * splits up process_action to allow independent processing of actions * merging?
2016-05-15Leader key implementation (#326)Erez Zukerman
* implements leader key for planck experimental * allows override of leader timeout * adds ability to use the leader key in seq * fixes leader keycode * adds chording prototype * fixes keycode detection * moves music mode to quantum.c * disables chording by default * updates process_action functions to return bool
2016-04-03Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware into ↵Wojciech Siewierski
modifier-release-fix
2016-04-01Update action.hEric-L-T
2016-03-28Rename function to be keyboard-specificDamien Pollet
2016-03-28Add per-event user hook function to QMKDamien Pollet
2016-03-27Cut the memory consumption of PREVENT_STUCK_MODIFIERS in halfWojciech Siewierski
2016-03-15Expose the pressed_actions_cache global variableWojciech Siewierski
2016-03-15Always provide an implementation of process_action_nocacheWojciech Siewierski
2016-03-13process_action may be called either with key cache or without itWojciech Siewierski
If one wants to temporarily disable the key cache (for example because it interferes with a macro), `disable_action_cache` must be set to `true`. `process_action_nocache` is a simple wrapper doing just that for a single call.
2015-05-21Revert "Make action_for_key a weak symbol"tmk
This reverts commit c17b8a599e3ec3b0a327bcd66082541f2517ab30. The commit made compile error and its intention is unclear.
2015-05-19Make action_for_key a weak symbolDan McGregor
2015-04-10Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'tmk