libevdev/test
Peter Hutterer 546efc783c Don't treat devices with (ABS_MT_SLOT - 1) as multitouch devices
Some devices (PS3 sixaxis controller) merely have a bunch of axes, without the
semantic information that linux/input.h requires. For those, the ABS_MT range
may be merely another axis, not the special range that we need to treat it
with.

Use a simple heuristic: if ABS_MT_SLOT - 1 is enabled, don't treat ABS_MT as
multitouch axes. The ABS_MT_SLOT - 1 axis is not used for a real axis.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
2013-12-10 19:39:47 +10:00
..
.gitignore test: add a build test for -Wpedantic 2013-11-23 09:00:53 +10:00
Makefile.am test-compile-pedantic: replace -Wpedantic with -pedantic 2013-11-26 09:53:08 +10:00
test-common-uinput.c test: provide wrapper for fetching the devnode from a uinput test device 2013-09-13 08:59:06 +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: define a common device name 2013-07-05 09:11:34 +10:00
test-common.h test: define a common device name 2013-07-05 09:11:34 +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 Add a copy of linux/input.h 2013-10-23 09:04:34 +10:00
test-int-queue.c Use ENOMEM instead of ENOSPC 2013-08-31 12:27:23 +10:00
test-libevdev-events.c Merge branch 'ev-rep-handling' 2013-12-09 09:49:43 +10:00
test-libevdev-has-event.c Don't treat devices with (ABS_MT_SLOT - 1) as multitouch devices 2013-12-10 19:39:47 +10:00
test-libevdev-init.c Fix wrong libevdev clock test 2013-10-31 11:23:13 +10:00
test-main.c Add name-resolver unit tests 2013-10-31 11:24:26 +10:00
test-uinput.c Revamp the API once again 2013-09-10 11:25:09 +10:00