When starting up, we correctly set the active layer counter to one, and the active layer stack will therefore correctly contain layer 0 as an active layer. However, we weren't setting the `layer_state_` bitmap up properly, and as such, `Layer.isActive(0)` was returning false, despite the layer being active as far as lookups were concerned. To fix this, we explicitly flip the 0th bit on in the newly introduced `Layer.setup()` method, where the initial keymap cache update was moved to, too. Fixes #951. Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/952/head
parent
f32f845d97
commit
60b5b24bd6
Loading…
Reference in new issue