this PR allows keyboards to be configured by name. the following config sets my laptop's built in keyboard layout to colemak while allowing my external keyboard (already flashed with colemak) to work as expected.
the last used configuration is cached between calls to on_keyboard() in an attempt to squeeze some performance gains. based on the feedback on this implementation, the same can be quickly done for all other supported input types.
this PR allows keyboards to be configured by name. the following config sets my laptop's built in keyboard layout to colemak while allowing my external keyboard (already flashed with colemak) to work as expected.
the last used configuration is cached between calls to
on_keyboard()
in an attempt to squeeze some performance gains. based on the feedback on this implementation, the same can be quickly done for all other supported input types.