mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
c20beabf93
We know support EV_REL events comming from evdev devices. This addition is pretty straigthforward, it adds a x,y per GSource listening to a evdev device, updates from EL_REL (relative) events and craft new ClutterMotionEvents. As for buttons, BTN_LEFT..BTN_TASK are translated to ClutterButtonEvents with 1..8 as button number. |
||
---|---|---|
.. | ||
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 |