This is a preparation for switching to the wlroots scene-graph. There is
no replacement planned for output:redraw() because it will no longer be
necessary (as far as i can tell), while scene-compatible replacements
for the view pre_render/post_render events are planned.
This allows the config to be exactly as verbose as kiwmi, or to change
the verbosity level at runtime (e.g. using kiwmic).
It uses numbers, because they are much easier to handle on both sides
and add only little inconvenience to the user.
* Add keyboard:configure
This enables the user to set the keyboard with libxkbcommon.
* changed keyboard:configure to keyboard:set_keymap
this now take a table as parameter
* Rename set_keymap to keymap, fix style issues
Co-authored-by: buffet <dev@buffet.sh>