summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_layer.c
Commit message (Collapse)AuthorAge
* clang-format changesskullY2019-08-30
|
* Fix bit count calculation for iterating layersRyan Caltabiano2019-05-18
|
* Typedef'ed layer_state_t to uint32_t (#3637)Alex Ong2019-05-17
| | | | | | | | | | | | | | | | | | | | * 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.
* Change return type of layer_switch_get_layer() to uint8_t (#5011)fauxpark2019-01-31
| | | | | | * Change return type of layer_switch_get_layer() to uint8_t * Keep loop index signed so we don't wrap around
* Add documentation and fix formating (#4860)Drashna Jaelre2019-01-17
|
* Add some function comments in action_layer.c (#4858)Nikolaus Wittenstein2019-01-16
|
* Keep pressed keys on layer state change (fixes #2053, #2279) (#3905)Konstantin Đorđević2018-12-28
| | | | | | | | | | * 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
* Add user level to default_layer_state_setDrashna Jaelre2018-10-01
|
* Make `PREVENT_STUCK_MODIFIERS` the default (#3107)Joe Wasson2018-09-17
| | | | | | | | | | * 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.
* 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
* make 'layer_state_set' visible to user codeColin T.A. Gray2017-12-15
|
* fixes 'layer_state_cmp' when layer is '1' (aka layer 0, aka layer 1<<0)Colin T.A. Gray2017-12-15
|
* helper to compare current layer_state to user layerColin T.A. Gray2017-12-08
| | | | | Performs the same bit comparison that the layer_move functions perform
* adds per-layer rgb color option to ezJack Humbert2017-11-06
|
* Fix compilation error when NO_ACTION_LAYER is defined.Joe Wasson2017-08-20
|
* Bug fix & added default_layer_state_set_kbPriyadi Iman Nurcahyo2017-02-15
|
* Add layer_state_set_kb hookPriyadi Iman Nurcahyo2017-02-15
|
* Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.Joe Wasson2016-07-24
|
* stops forcing debug_actionJack Humbert2016-04-28
|
* Fixed many compiler warnings related to print being disabledIBNobody2016-04-17
|
* Optimize source_layers_cache for the cache memoryWojciech Siewierski2016-04-13
| | | | Swapping the array indices should increase the locality of the memory access.
* Refactor the source layer cache encodingWojciech Siewierski2016-04-05
|
* Cut the memory consumption of PREVENT_STUCK_MODIFIERS in halfWojciech Siewierski2016-03-27
|
* Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'tmk2015-04-10