The goal is to ignore key events from still-held keys in a situation where we just turned a layer off. Thus, if one holds a momentary layer key, then presses and holds another key, releases the layer key, we want to ignore the other held keys until they are released. This is accomplished by masking all held keys when a momentary layer has been turned off, and ignoring all masked key events in `handleKeyswitchEvent` until they are released, when we unmask them. This should address #150, but requires keyboardio/Kaleidoscope-Hardware-Model01#9. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/152/head
parent
e9c532509f
commit
f0b3ad2b14
Loading…
Reference in new issue