]> git.donarmstrong.com Git - qmk_firmware.git/commit
Fix #156: clear weak mods on every key press
authorDidier Loiseau <didierloiseau+git@gmail.com>
Tue, 8 Mar 2016 22:14:15 +0000 (23:14 +0100)
committerDidier Loiseau <didierloiseau+git@gmail.com>
Tue, 8 Mar 2016 22:14:15 +0000 (23:14 +0100)
commitb7a81f041906c3c978a314987e486536be0a58cd
tree81865fdb062f2716cb1581a856f3728fb4b09209
parent7d3ebd7b40b96f576fe4608b33f47329c334925b
Fix #156: clear weak mods on every key press

- 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
tmk_core/common/action.c
tmk_core/common/action_macro.c
tmk_core/common/action_util.c
tmk_core/common/action_util.h