This changes the keymap layout to be as described in #17, and updates the
default layout to follow. (Also adds the missing Space and Mod keys on the two
keys below the bottom row)
The layout itself was considerably simplified by introducing a few local macros
to hide some of the uglier details.
Fixes#17.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
We now use a 32-bit structure to describe each key, and an `uhk_key_t` type that
wraps all the supported things into a union. But this is not the only change: to
be able to move the Fn/Mod keys anywhere, instead of hardcoding their location,
they are now proper layer keys. To make it easier to handle turning a layer off,
key releases can be handled explicitly, too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>