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
..
2011-11-10 19:05:39 +01:00
2012-02-23 12:01:11 +00:00
2012-01-26 08:30:58 +00:00
2012-02-23 12:01:11 +00:00
2011-10-19 15:23:55 +01:00
2011-10-19 15:23:55 +01:00
2011-11-10 14:13:45 +00:00
2011-06-07 16:06:24 +01:00
2012-01-16 23:35:16 +00:00
2011-12-28 09:37:53 +00:00
2011-06-07 16:06:24 +01:00
2012-01-16 21:06:19 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2012-02-23 17:21:57 +00:00
2011-06-07 16:06:24 +01:00