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.
2011-09-01 17:18:48 -04:00
Tiago Vignatti
d904359949
evdev: treat BTN_TOUCH as BTN_LEFT
...
idea stolen from xorg evdev.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-09-01 17:18:07 -04:00
Tiago Vignatti
bbc2e03b2a
evdev: use last output from compositor to get the screen geometries
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-09-01 12:32:29 -04:00
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>
2011-09-01 12:30:48 -04:00
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>
2011-08-19 10:55:33 -04:00
Tiago Vignatti
d9c8250955
evdev: use a separate function for configuring devices
...
No semantical changes.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-08-19 10:55:33 -04:00
Matt Peterson
63900ec374
Relative movement with a touchpad and other misc fixes for events
2011-08-12 10:20:36 -04:00
Kristian Høgsberg
1d26603633
evdev: Only add event devices
2011-07-21 08:42:58 -07:00
Kristian Høgsberg
86ec8e80d8
compositor: Use systemd seats for input devices as well
2011-07-19 16:10:11 -07:00
Kristian Høgsberg
b1868479ad
Update return types of event handler functions
...
Missed this in previous commit.
2011-04-22 12:27:57 -04:00
Kristian Høgsberg
96c8be98a6
Some kind of support for touchscreen
2011-01-14 14:49:46 -05:00
Kristian Høgsberg
43db4015f9
Split out evdev handling to its own file
2011-01-14 14:45:42 -05:00