If `handleKeyswitchEvent()` is called with a `mappedKey` other than `Key_NoKey`, update `live_composite_keymap_` with the specified `mappedKey` instead of doing a keymap lookup on active layers. This allows a plugin to call `handleKeyswitchEvent()` and specify what the `Key` value should be, and not have to separately track what value to change it to every cycle. This is especially important when there's a layer change. In particular, this is the simplest way to allow Qukeys to use `ShiftToLayer()` keys that work properly. Fixes #501. Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>pull/502/head
parent
6c1cc7bd2c
commit
26ff408719
Loading…
Reference in new issue