evdev: remove direct checks for INPUT_PROP_POINTING_STICK
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Tue, 2 Jun 2015 21:22:42 +0000 (17:22 -0400)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Jun 2015 23:30:32 +0000 (09:30 +1000)
commit363ff3a52b075f9a44210188aad1169a027e6a7c
treecf897da3b4553499386d0929ffedaf2c00615e28
parenta83fe757c35b279217b07b79441e7b77434602e6
evdev: remove direct checks for INPUT_PROP_POINTING_STICK

If we need to temporary override a device with ID_INPUT_POINTINGSTICK,
evdev sets the tag EVDEV_TAG_TRACKPOINT to the device. Rely on the tag
to behave properly for scroll emulation.

The dpi information should be retrieved after the device has been
configured or the tag EVDEV_TAG_TRACKPOINT was not set.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev.c