This is tested with Gtk clients. There are a number of TODO items:
- hardcoded scaling for mapping the touch co-ordinate system
into layout co-ordinates (works on my Pinephone :-).
- we should send events to the client no matter what the Lua handler
returns (I think the code to not do this is broken
anyway...). Instead, if the handler returns true we should send the
client a touch cancel event.
- maybe there's a better way to deal with seat capabilities than
adding a "touchpads" field to kiwmi_input
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 <niclas@countingsort.com>