This moves the layouts to the sketch directory, so that other sketches can easily use a different keymap. In the process, not much had to be changed, and a number of things still remain in the core that assume the default keymap (such as the NUMPAD_KEYMAP thing in LEDControl.cpp), but this is a first step. The downside is that the keymap is no longer static, because that would conflict with the extern declaration, and the NUMPAD_KEYMAP is a byte, instead of a compile-time define. Alltogether, the difference is small enough to be acceptable. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/37/head
parent
f665f9acaf
commit
58f6b18076
Loading…
Reference in new issue