1
0
Fork 0
mutter-performance-source/clutter/evdev
Neil Roberts 13e3f9e5f1 Add an input device function to convert keycodes to evdev codes
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>
2012-03-01 11:41:51 +00:00
..
clutter-device-manager-evdev.c evdev: Associate devices with the first created stage 2012-03-01 11:41:51 +00:00
clutter-device-manager-evdev.h evdev: Merge clutter-event-evdev.[ch] into the device manager 2010-11-30 14:40:38 +00:00
clutter-input-device-evdev.c Add an input device function to convert keycodes to evdev codes 2012-03-01 11:41:51 +00:00
clutter-input-device-evdev.h evdev: First stab at an evdev backend 2010-11-30 14:40:37 +00:00
clutter-xkb-utils.c evdev: Fix the unicode_value for new ClutterEvents 2010-11-30 14:40:37 +00:00
clutter-xkb-utils.h xkb-utils: Adds #ifdef guards for repeat includes 2011-12-08 16:13:38 +00:00