diff options
author | tmk <nobody@nowhere> | 2013-10-04 03:30:09 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-10-04 16:04:31 +0900 |
commit | d52d554360d3bf06189bfd4f386fa99348d8a0a8 (patch) | |
tree | b05d27552402f371e61aa0f29906a60c87e213ad /common/action_code.h | |
parent | cb434cfebc607db15b52a42adae6423bd40f1f98 (diff) | |
download | firmware-d52d554360d3bf06189bfd4f386fa99348d8a0a8.tar.gz firmware-d52d554360d3bf06189bfd4f386fa99348d8a0a8.tar.bz2 firmware-d52d554360d3bf06189bfd4f386fa99348d8a0a8.zip |
Fix mod stuck of MODS_KEY when leaving layer #62
- Add action_util.c and remove action_oneshot.c
- Add oneshot_mods for MODS_ONESHOT
- Add weak_mods for MODS_KEY and MACRO
- weak_mods is cleared when layer switching
Diffstat (limited to 'common/action_code.h')
-rw-r--r-- | common/action_code.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/action_code.h b/common/action_code.h index b2a7f2b4f..c153838f2 100644 --- a/common/action_code.h +++ b/common/action_code.h @@ -29,13 +29,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * 000r|0000|0000 0001 Transparent code * 000r|0000| keycode Key * 000r|mods|0000 0000 Modifiers - * 000r|mods| keycode Key and Modifiers + * 000r|mods| keycode Modifiers+Key(Modified key) * r: Left/Right flag(Left:0, Right:1) * * ACT_MODS_TAP(001r): * 001r|mods|0000 0000 Modifiers with OneShot * 001r|mods|0000 00xx (reserved) - * 001r|mods| keycode Modifiers with Tap Key + * 001r|mods| keycode Modifiers with Tap Key(Dual role) * * * Other Keys(01xx) @@ -69,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * 1001|oopp|BBBB BBBB 8-bit Bitwise Operation??? * * ACT_LAYER_TAP(101x): - * 101E|LLLL| keycode Invert with tap key + * 101E|LLLL| keycode On/Off with tap key * 101E|LLLL|1110 xxxx Reserved(0xE0-EF) * 101E|LLLL|1111 0000 Invert with tap toggle(0xF0) * 101E|LLLL|1111 0001 On/Off |