evdev: Reject absolute motion if we're not a pointer or a touch device
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Dec 2013 23:51:22 +0000 (15:51 -0800)
committerJonas Ådahl <jadahl@gmail.com>
Sat, 21 Dec 2013 11:53:29 +0000 (12:53 +0100)
commit4004080f2737ce31f4059efb3136c5eb68a56426
tree08017927a1dc0c212abee8edac125b3a57e09bad
parent83f3319f181e4d0c3afab88b3f58b6125165d9dd
evdev: Reject absolute motion if we're not a pointer or a touch device

Some joysticks have certain buttons that acts keyboard keys.  As such,
we'll reconize them as keyboards but not pointers.  In that case, don't
send pointer motion events when we get absolute joystick events.
src/evdev.c