xz tarballs are enough

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Add a missing doxygen comment

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
TODO: add a few items

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
If a touchpoint starts on ABS_MT_TRACKING_ID -1, ignore it

If the first event is a tracking id of -1, don't try to decrease the counter,
just ignore that event.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Skip event processing if we don't have anything of interest queued

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tap: clear the timeout if we get a motion event

Moving past the threshold while in  TOUCH2 cancels any current timeouts.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tap: clear current timeout if we're handling a timeout.

Avoids returning timeouts < now if any specific path doesn't clear the timeout
explicitly.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add a test-suite

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: detect if we're running in a debugger and disable fork mode

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add test-cases for doubletap and tap+move

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add tap-and-drag test cases

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add a test for read delay past the tap timeout

If we tap on the touchpad but the caller doesn't handle the up event until
after the timeout, it must still be a tap.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add a build-test for -Wpedantic

If a caller requires -Wpedantic, we shouldn't cause any errors or warnings.
This is a build-test only, and the pedantic flag only applies to this build.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: rename test-common to tptest

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add test for tap-hold past the timeout

Must not cause a button event

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add test for double tap with inverted release order

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add tap test for two-finger hold/move past thresholds

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: add tests four two-finger down, then single-finger tap for button 2

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: use -pedantic, not -Wpedantic

-Wpedantic is the newer flag, not available in all compilers yet

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: hook up scroll events

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>