Module smithay_client_toolkit::seat::keyboard
source · [−]Expand description
Utilities for keymap interpretation of keyboard input
This module provides an implementation for wl_keyboard
objects using libxkbcommon
to interpret the keyboard input
given the user keymap.
The entry point of this module is the map_keyboard
function which, given a wl_seat
and a callback, setup keymap interpretation
and key repetition for the wl_keyboard
of this seat.
Key repetition relies on an event source, that needs to be inserted in your calloop event loop. Not doing so will prevent key repetition to work (but the rest of the functionnality will not be affected).
Modules
Structs
Represents the current state of the keyboard modifiers
The RMLVO description of a keymap
An event source managing the key repetition of a keyboard
Enums
An error that occurred while trying to initialize a mapped keyboard
Events received from a mapped keyboard
physical key state
Possible kinds of key repetition
Functions
Implement a keyboard for keymap translation with key repetition
Implement a keyboard for keymap translation with key repetition