touchpad: make tp_detect_jumps() time-independent

This function expected distances per-frame, not per-time which gives us
different behaviors depending on the hardware scanout rate. Fix this by
normalizing to a 12ms frame rate which reflects the touchpad I measured all
the existing thresholds on.

This is a bit of a problem for the test suite which doesn't use proper
intervals and the change to do so is rather invasive. So for now we set the
interval for test devices to whatever the time delta is so we can test the
jumps without having to worry about intervals.

Fixes #121

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
42 jobs for master in 7 minutes and 9 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Docker Check
passed #21340
arch:rolling@docker-check

00:00:19

passed #21346
arch:rolling@docker-clean

00:00:28

passed #21337
fedora:27@docker-check

00:00:26

passed #21343
fedora:27@docker-clean

00:00:29

passed #21336
fedora:28@docker-check

00:00:28

passed #21342
fedora:28@docker-clean

00:00:29

passed #21341
freebsd:11.2@docker-check

00:00:19

passed #21347
freebsd:11.2@docker-clean

00:00:29

passed #21338
ubuntu:17.10@docker-check

00:00:28

passed #21344
ubuntu:17.10@docker-clean

00:00:29

passed #21339
ubuntu:18.04@docker-check

00:00:27

passed #21345
ubuntu:18.04@docker-clean

00:00:28

 
  Docker Prep
passed #21352
arch:rolling@docker-prep

00:00:20

manual #21358
allowed to fail manual
arch:rolling@force-docker-prep
passed #21349
fedora:27@docker-prep

00:00:37

manual #21355
allowed to fail manual
fedora:27@force-docker-prep
passed #21348
fedora:28@docker-prep

00:00:37

manual #21354
allowed to fail manual
fedora:28@force-docker-prep
passed #21353
freebsd:11.2@docker-prep

00:00:21

manual #21359
allowed to fail manual
freebsd:11.2@force-docker-prep
passed #21350
ubuntu:17.10@docker-prep

00:00:36

manual #21356
allowed to fail manual
ubuntu:17.10@force-docker-prep
passed #21351
ubuntu:18.04@docker-prep

00:00:36

manual #21357
allowed to fail manual
ubuntu:18.04@force-docker-prep
 
  Build
passed #21375
arch:rolling@default-build

00:00:50

passed #21360
fedora:27@default-build

00:01:06

passed #21368
fedora:28@build-no-debuggui

00:00:58

passed #21369
fedora:28@build-no-debuggui-nodeps

00:00:59

passed #21366
fedora:28@build-no-docs

00:00:34

passed #21367
fedora:28@build-no-docs-nodeps

00:00:49

passed #21364
fedora:28@build-no-libwacom

00:00:41

passed #21365
fedora:28@build-no-libwacom-nodeps

00:00:56

passed #21370
fedora:28@build-no-tests

00:00:39

passed #21371
fedora:28@build-no-tests-nodeps

00:00:38

passed #21361
fedora:28@default-build

00:01:03

passed #21362
fedora:28@default-build-release

00:01:04

passed #21363
fedora:28@scan-build

00:03:23

passed #21372
fedora:28@valgrind

00:00:42

passed #21376
freebsd:11.2@default-build

00:00:34

passed #21373
ubuntu:17.10@default-build

00:00:57

passed #21374
ubuntu:18.04@default-build

00:00:45

 
  Deploy
passed #21377
wayland-web

00:00:17