summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_layer.c
AgeCommit message (Collapse)Author
2019-11-08Fix LAYER_STATE_8BIT compile issues (#7304)Joel Challis
2019-08-30clang-format changesskullY
2019-05-18Fix bit count calculation for iterating layersRyan Caltabiano
2019-05-17Typedef'ed layer_state_t to uint32_t (#3637)Alex Ong
* Typedef'ed layer_state_t to uint32_t. This enables future work with layer_state_t to uint8_t for optimization purposes. * Removed accidental xeal60 commit * Revert to egyptian brackets, added sizeof(layer_state_t) so when layer_state_t is redefined it will automagically work. * Add additional typedefs * Add checks for setting layer state * Update tmk_core/common/action_layer.h Co-Authored-By: alex-ong <the.onga@gmail.com> * Revert commit.
2019-01-31Change return type of layer_switch_get_layer() to uint8_t (#5011)fauxpark
* Change return type of layer_switch_get_layer() to uint8_t * Keep loop index signed so we don't wrap around
2019-01-17Add documentation and fix formating (#4860)Drashna Jaelre
2019-01-16Add some function comments in action_layer.c (#4858)Nikolaus Wittenstein
2018-12-28Keep pressed keys on layer state change (fixes #2053, #2279) (#3905)Konstantin Đorđević
* Keep pressed keys on layer state change * Add doc comment for clear_keyboard_but_mods_and_keys * Keep pressed keys only if PREVENT_STUCK_MODIFIERS is on * Check STRICT_LAYER_RELEASE instead of PREVENT_STUCK_MODIFIERS
2018-10-01Add user level to default_layer_state_setDrashna Jaelre
2018-09-17Make `PREVENT_STUCK_MODIFIERS` the default (#3107)Joe Wasson
* Remove chording as it is not documented, not used, and needs work. * Make Leader Key an optional feature. * Switch from `PREVENT_STUCK_MODIFIERS` to `STRICT_LAYER_RELEASE` * Remove `#define PREVENT_STUCK_MODIFIERS` from keymaps.
2018-03-22Generate API docs from source code comments (#2491)skullydazed
* 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
2017-12-15make 'layer_state_set' visible to user codeColin T.A. Gray
2017-12-15fixes 'layer_state_cmp' when layer is '1' (aka layer 0, aka layer 1<<0)Colin T.A. Gray
2017-12-08helper to compare current layer_state to user layerColin T.A. Gray
Performs the same bit comparison that the layer_move functions perform
2017-11-06adds per-layer rgb color option to ezJack Humbert
2017-08-20Fix compilation error when NO_ACTION_LAYER is defined.Joe Wasson
2017-02-15Bug fix & added default_layer_state_set_kbPriyadi Iman Nurcahyo
2017-02-15Add layer_state_set_kb hookPriyadi Iman Nurcahyo
2016-07-24Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.Joe Wasson
2016-04-28stops forcing debug_actionJack Humbert
2016-04-17Fixed many compiler warnings related to print being disabledIBNobody
2016-04-13Optimize source_layers_cache for the cache memoryWojciech Siewierski
Swapping the array indices should increase the locality of the memory access.
2016-04-05Refactor the source layer cache encodingWojciech Siewierski
2016-03-27Cut the memory consumption of PREVENT_STUCK_MODIFIERS in halfWojciech Siewierski
2015-04-10Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'tmk