We want to allow plugins to change how keys are looked up - or where they are looked up from -, and for this, the way we do that final lookup from `keymaps` or elsewhere, must be overrideable. We do this by having a `getKey` function pointer in the `Layer_` class, which defaults to `getKeyFromPROGMEM`. Any plugin, or sketch, can change where `getKey` points to, and thereby change the way keys are looked up. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/115/head
parent
2397c488c6
commit
6d641e7fc5
Loading…
Reference in new issue