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

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

Constants

Functions

Type Aliases