mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -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-backend-wayland.c | ||
clutter-backend-wayland.h | ||
clutter-device-manager-wayland.c | ||
clutter-device-manager-wayland.h | ||
clutter-event-wayland.c | ||
clutter-event-wayland.h | ||
clutter-input-device-wayland.c | ||
clutter-input-device-wayland.h | ||
clutter-stage-wayland.c | ||
clutter-stage-wayland.h | ||
clutter-wayland-compositor.h | ||
clutter-wayland-surface.c | ||
clutter-wayland-surface.h | ||
clutter-wayland.h |