Kristian Høgsberg
e7b5b41e93
evdev: Associate touchscreen devices with output up front
...
This isn't going to change over time, so just tracking it in the
evdev device is a little easier. Also, we need to adjust for the
output position when transforming the device events to screen space.
13 years ago
Tiago Vignatti
d904359949
evdev: treat BTN_TOUCH as BTN_LEFT
...
idea stolen from xorg evdev.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
bbc2e03b2a
evdev: use last output from compositor to get the screen geometries
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
8be003baba
evdev: organize the code for processing events
...
Nothing was touched, just code moved around.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
c0827fd9d6
evdev: opt out accelerometer type of devices
...
We may want to adjust the protocol later for clients that care for
these devices only, generating a special event.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
d9c8250955
evdev: use a separate function for configuring devices
...
No semantical changes.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Matt Peterson
63900ec374
Relative movement with a touchpad and other misc fixes for events
13 years ago
Kristian Høgsberg
1d26603633
evdev: Only add event devices
14 years ago
Kristian Høgsberg
86ec8e80d8
compositor: Use systemd seats for input devices as well
14 years ago
Kristian Høgsberg
b1868479ad
Update return types of event handler functions
...
Missed this in previous commit.
14 years ago
Kristian Høgsberg
96c8be98a6
Some kind of support for touchscreen
14 years ago
Kristian Høgsberg
43db4015f9
Split out evdev handling to its own file
14 years ago