Layer lookup functions


(Shriramana Sharma) #1

To verify that my understanding of https://github.com/keyboardio/Kaleidoscope/blob/master/src/layers.h#L48 and following lines is correct:

lookup will give the actual output key at a position keeping in consideration activated (but may be released) layer toggles.

lookupOnActiveLayer will give the output key at a position only considering the logical superposition of layers but not any transiently active layer toggles

lookupActiveLayer will give the actual layer that provides the above key, considering the logical superposition

Correct?


(Gergely Nagy) #2

Your understanding is correct, indeed.