libevdev/test
Peter Hutterer d6c2b3d0de Update the BTN_TOOL bits correctly during SYN_DROPPED handling
Where at least one touch ends during SYN_DROPPED, we send out two event
frames: one with all applicable touch sequences ending (tracking id -1) and
the second one with the whole device state *and* the applicable touch
sequences starting (tracking id != -1).

This requires us to also update the BTN_TOOL_ bits correctly so that they are
correct after the first frame. For that we count the number of previously
known touches and send a 0 event for the matching BTN_TOOL_ bit, together with
a 1 event for the currently known touches.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-02-19 11:09:31 +10:00
..
.gitignore Add a test for EVIOCREVOKE 2014-02-26 07:22:04 +10:00
generate-gcov-report.sh configure.ac: enable subdir-objects 2017-01-09 09:40:28 +10:00
Makefile.am test: change the static symbol leak test to a shell script 2020-02-19 08:34:55 +10:00
test-common-uinput.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-common-uinput.h config.h is a local include path 2020-02-14 12:03:23 +10:00
test-common.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-common.h config.h is a local include path 2020-02-14 12:03:23 +10:00
test-compile-pedantic.c test: add a build test for -Wpedantic 2013-11-23 09:00:53 +10:00
test-context.c test: silence warnings about missing field initializers 2020-02-14 12:03:23 +10:00
test-event-codes.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-event-names.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-int-queue.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-kernel.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-libevdev-events.c Update the BTN_TOOL bits correctly during SYN_DROPPED handling 2020-02-19 11:09:31 +10:00
test-libevdev-has-event.c test: silence warnings about missing field initializers 2020-02-14 12:03:23 +10:00
test-libevdev-init.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-link.c test: add basic link test 2013-12-12 13:19:52 +10:00
test-main.c config.h is a local include path 2020-02-14 12:03:23 +10:00
test-static-symbols-leak.sh meson.build: hook up the static symbols leak test 2020-02-19 08:34:55 +10:00
test-uinput.c test: fix two signed vs unsigned warnings 2020-02-14 12:03:23 +10:00
valgrind.suppressions meson.build: hook up the static symbols leak test 2020-02-19 08:34:55 +10:00