libinput/src
Peter Hutterer 5e85957ad2 evdev: init pointer accel filters when we have rel x/y axes
Some devices provide abs x/y and rel x/y. We can't know which event the device
will send. The Microsoft Surface Type Cover sends relative events, which
then crashes libinput when we don't have an accel filter set up.

So instead of checking that the device doesn't have ABS_X/Y, check for the
device to have REL_X/Y instead.

https://bugzilla.redhat.com/show_bug.cgi?id=1206869

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
2015-04-28 07:45:32 +10:00
..
evdev-middle-button.c evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
evdev-mt-touchpad-buttons.c touchpad: allow BTN_LEFT in clickfinger mode without touches 2015-04-27 09:04:27 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: add state debugging to the edge scroll state machine 2015-04-09 07:52:19 +10:00
evdev-mt-touchpad-gestures.c touchpad: Only use slot 0 deltas for 2fg scrolling on semi-mt touchpads 2015-04-27 11:08:52 +10:00
evdev-mt-touchpad-tap.c touchpad: introduce MULTITAP for multi-tap-and-drag 2015-04-17 12:59:22 +10:00
evdev-mt-touchpad.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
evdev-mt-touchpad.h touchpad: introduce MULTITAP for multi-tap-and-drag 2015-04-17 12:59:22 +10:00
evdev.c evdev: init pointer accel filters when we have rel x/y axes 2015-04-28 07:45:32 +10:00
evdev.h evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
filter-private.h filter: switch to normalized_coords 2015-03-19 12:06:48 +10:00
filter.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
filter.h evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
libinput-private.h Add middle mouse button emulation config options 2015-04-17 12:49:43 +10:00
libinput-util.c evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02:00
libinput-util.h evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02:00
libinput-version.h.in Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
libinput.c Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
libinput.h Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
Makefile.am evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
path.c path: make sure udev devices are initialized before usage 2015-02-04 08:14:50 +10:00
path.h path: store the udev device instead of just the devnode 2014-11-25 16:33:01 +10:00
timer.c Add a helper function for clock_gettime 2014-09-18 11:30:15 +10:00
timer.h timer.h: Add #include libinput-util.h 2014-06-11 10:30:12 +10:00
udev-seat.c udev: fix a race condition if a device disappears before we get a handle 2015-02-19 06:56:23 +10:00
udev-seat.h udev: Drop unused seat_name in struct udev_seat 2014-01-16 20:42:30 +01:00