]> git.donarmstrong.com Git - qmk_firmware.git/commit
Fix swap-hands tapping.
authorJoe Wasson <jwasson+github@gmail.com>
Mon, 12 Mar 2018 17:22:49 +0000 (10:22 -0700)
committerJack Humbert <jack.humb@gmail.com>
Fri, 16 Mar 2018 20:33:43 +0000 (16:33 -0400)
commit5d771039adf23fe9cb8de5843a3d799dc73a2fc7
tree043471b02358c3f7cbe848886fc5bcd850049fa7
parent23ac2a02ef870dce91318a4d98e3c8ec5749bced
Fix swap-hands tapping.

This is an inelegant hack for #2522 but makes things work. Basically we give `action.c` a chance to handle the hold event early so that we can swap the keyboard for later keys. Later, to allow the hold to happen again quickly we nuke the key record so that tapping is reset. I tried to find a cleaner way, honestly.
tmk_core/common/action.c
tmk_core/common/action.h
tmk_core/common/action_code.h
tmk_core/common/action_tapping.c