input-linux: refine mouse detection
commitce47d3d4270e9c0f87cd9a3982f1a40a4514c6e3
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 12 Apr 2016 09:21:43 +0000 (12 11:21 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 13 Apr 2016 13:52:28 +0000 (13 15:52 +0200)
treebfb82396c4abae01f412002efeab96c4f8c9635c
parent0263b3a72fbd2ac9ba59ecc2449a9bc53ccf6fb3
input-linux: refine mouse detection

Read absolute and relative axis information, only classify
devices as mouse/tablet in case the x axis is present.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/input-linux.c