Skip to main content

Module scancode

Module scancode 

Traits§

PhysicalKeyExtScancode
Additional methods for the PhysicalKey type that allow the user to access the platform-specific scancode.

Functions§

keysym_to_key
The logical key and location xkb’s keysym names, as a keyboard event on X11 or Wayland reports them, so a host that reads the keyboard itself (a KMS host through libinput and xkbcommon) names keys as winit does. A keysym that names no key winit knows is Key::Unidentified; the caller takes the key’s text instead.