mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
13e3f9e5f1
This adds a virtual function to ClutterInputDevice to translate a keycode from the hardware_keycode member of ClutterKeyEvent to an evdev keycode. The function can fail so that input backends that don't have a sensible way to translate to evdev keycodes can return FALSE. There are implementations for evdev, wayland and X. The X implementation assumes that the X server is using an evdev driver in which case the hardware keycodes are the evdev codes plus 8. Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com> |
||
---|---|---|
.. | ||
common | ||
cookbook | ||
reference | ||
actor-invariants.txt | ||
AUTHORS.old | ||
CODING_STYLE | ||
HACKING | ||
HACKING.backends | ||
Makefile.am | ||
RELEASING | ||
size-negotiation.txt |