summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_util.c
Commit message (Collapse)AuthorAge
* clang-format changesskullY2019-08-30
|
* Add One Shot Key callbacks (#4697)Thomas Baart2019-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added callbacks to one shot modifier changes * Altered signature of callback functions * Reordered the callback methods, shortened brief documentation * Added One Shot Modifier callback documentation * First attempt at unit tests * Revert "First attempt at unit tests" This reverts commit 5ec21a782202c0d74cf21cb852bd319f0c8b4842. * Simplified oneshot function implementations * Made clear_oneshot_locked_mods to be conform action_util.h, adhering to the (void) signature * Made used datatypes for oneshot mods consistently unsigned integers * Corrected callback to call clear callback when clear_oneshot_locked_mods is invoked * Simplified oneshot equals statements * Corrected return type and signature of get and set oneshot locked mods * Consolidated one shot callbacks, added initial layer callback version * Fixed non-updating one shot layer variable after timeout or other clear, added code comments * Added better one shot key docs
* Fix oneshot_time wrong type (#3696)Shihpin Tseng2019-01-25
| | | | | | * Fix oneshot_time wrong type * Fix oneshot_time_layer wrong type
* Generate API docs from source code comments (#2491)skullydazed2018-03-22
| | | | | | | | | | | | | | | | | | * Generate api docs from source code * Add a bunch of doxygen comments * more doxygen comments * Add the in-progress api docs * script to generate docs from travis * Add doc generation to the travis job * make travis_docs.sh commit the work it does * make sure the docs script exits cleanly
* Fix problems with undefined inlines in debug modeFred Sundvik2017-06-18
|
* Move functions for adding keys from to reports to report.hFred Sundvik2017-06-18
|
* Move functionality from action_util to reportFred Sundvik2017-06-18
| | | | | The functions also takes report_kebyoard_t parameters, so that they can be used elsewhere.
* Empty implementation of has_onshot_mods_timed_outFred Sundvik2017-04-09
| | | | | When the timeout is zero or not defined, the function now returns false. Fixes a linker error when the visualizer is enabled
* Use keyboard config for nkro (#7)IBNobody2016-09-06
| | | | | | * removing nkro references - wip * changed NKRO to be defined by keymap_config
* Adds oneshot layer and oneshot tap toggling (#308)Thiago Alves2016-05-05
| | | | | | | | | | This commit is mostly a cherry-pick from `ahtn` at https://github.com/tmk/tmk_keyboard/pull/255. These are the changes: * Adds ACTION_LAYER_ONESHOT * Adds ONESHOT_TAP_TOGGLE * Mentions sticky keys in the docs on oneshot.
* Fix #156: clear weak mods on every key pressDidier Loiseau2016-03-08
| | | | | | - new macro_mods bit field for mods applied by macros - weak_mods now only used for ACT_{L,R}MODS (i.e. LSFT, RSFT, LCTL etc.) - clear the _weak_ mods on every key *pressed* such that LSFT etc. can no more interfere with the next key
* core: Fix for disabling NKRO in Boot protocoltmk2015-09-20
|
* Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'tmk2015-04-10