libevdev/test
Peter Hutterer 12ff51b871 Don't sync the MT state for fake MT devices
Devices with ABS_MT_SLOT-1 are fake MT devices, they merely overlap the
axis range but don't actually provide slots. The EVIOCGABS ioctl won't work to
retrieve the current value - the kernel does not store values for those axes
and the return value is always 0.

Thus, simply ignore those axes for fake MT devices and instead rely on the
next event to update the caller with the correct state for each axis.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2014-03-06 14:30:03 +10:00
..
.gitignore Add a test for EVIOCREVOKE 2014-02-26 07:22:04 +10:00
Makefile.am Add a test for EVIOCREVOKE 2014-02-26 07:22:04 +10:00
test-common-uinput.c test: fix memleak when using the test-uinput device 2014-02-27 11:08:51 +10:00
test-common-uinput.h test: provide wrapper for fetching the devnode from a uinput test device 2013-09-13 08:59:06 +10:00
test-common.c test: abort on unexpected log messages 2014-01-22 09:14:40 +10:00
test-common.h test: abort on unexpected log messages 2014-01-22 09:14:40 +10:00
test-compile-pedantic.c test: add a build test for -Wpedantic 2013-11-23 09:00:53 +10:00
test-event-codes.c Provide separate lookup functions for zero-terminated strings 2013-11-01 08:18:41 +10:00
test-event-names.c test: remove NULL test for SW_MAX, 3.13 defines SW_MUTE_DEVICE 2014-01-29 15:08:12 +10:00
test-int-queue.c test: remove a bunch of superfluous empty lines 2014-02-25 13:05:30 +10:00
test-kernel.c Add a test for EVIOCREVOKE 2014-02-26 07:22:04 +10:00
test-libevdev-events.c Don't sync the MT state for fake MT devices 2014-03-06 14:30:03 +10:00
test-libevdev-has-event.c test: whitespace fixes (newlines) 2014-03-05 19:16:08 +10:00
test-libevdev-init.c test: whitespace fixes (newlines) 2014-03-05 19:16:08 +10:00
test-link.c test: add basic link test 2013-12-12 13:19:52 +10:00
test-main.c test: whitespace fixes (newlines) 2014-03-05 19:16:08 +10:00
test-uinput.c test: abort on unexpected log messages 2014-01-22 09:14:40 +10:00