mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -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> |
||
---|---|---|
.. | ||
clutter-device-manager-evdev.c | ||
clutter-device-manager-evdev.h | ||
clutter-input-device-evdev.c | ||
clutter-input-device-evdev.h | ||
clutter-xkb-utils.c | ||
clutter-xkb-utils.h |