]> git.donarmstrong.com Git - qmk_firmware.git/commit
Adds oneshot layer and oneshot tap toggling (#308)
authorThiago Alves <talk@thiagoalves.com.br>
Fri, 6 May 2016 01:41:37 +0000 (18:41 -0700)
committerJack Humbert <jack.humb@gmail.com>
Fri, 6 May 2016 01:41:37 +0000 (21:41 -0400)
commit74e97eefd7ae76f9ddcb76890a30aa9038804cdb
tree9bdf7ce6ffb97a024c8230e5e960d53503262ced
parentd4520cd3ac7550fc7243e9a76824d9ba674875c6
Adds oneshot layer and oneshot tap toggling (#308)

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.
tmk_core/common/action.c
tmk_core/common/action_code.h
tmk_core/common/action_util.c
tmk_core/common/action_util.h
tmk_core/doc/keymap.md