Crate wayland_kbd [−] [src]
Keyboard mapping utility for
wayland-client using libxkbcommon.
This library provides a simple handler for the wayland Keyboard objects, handling all keymap issues using libxkbcommon in a dynamic way (loading the library dynamically and thus not being linked to it).
To use it, create your backend handler implementing the
and provide a
MappedKeyboard<YourHandler> to the event queue. The MappedKeyboard
will translate the events into utf8 and forward them to you.
A wayland keyboard mapped to its keymap
Represents the current state of the keyboard modifiers