libinput/test
Peter Hutterer d93feba134 tablet: scale the available pressure range into the pressure thresholds
Pens that don't have a pressure offset (caused by a worn-out tip) still have
basic pressure thresholds to avoid tip events when we're still a bit away from
the tablet or barely touching it. That range is currently 5% of the pressure
for tip down, 1% for tip up.

This leaves us with 95% of the range and that needs to be scaled correctly,
otherwise the bottom 5% happen before a tip event and are inaccessible where
applications don't look at pressure before tip down.

Fixes #332

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-08-08 13:58:54 +10:00
..
50-litest.conf
build-cxx.cc
build-pedantic.c
check-double-macros.h
check-leftover-udev-rules.sh
generate-gcov-report.sh
helper-copy-and-exec-from-tmp.sh
libinput-test-suite.man
litest-device-acer-hawaii-keyboard.c
litest-device-acer-hawaii-touchpad.c
litest-device-aiptek-tablet.c
litest-device-alps-dualpoint.c
litest-device-alps-semi-mt.c
litest-device-anker-mouse-kbd.c
litest-device-apple-appletouch.c
litest-device-apple-internal-keyboard.c
litest-device-apple-magicmouse.c
litest-device-asus-rog-gladius.c
litest-device-atmel-hover.c
litest-device-bcm5974.c
litest-device-calibrated-touchscreen.c
litest-device-cyborg-rat-5.c
litest-device-dell-canvas-totem-touch.c
litest-device-dell-canvas-totem.c
litest-device-elantech-touchpad.c
litest-device-generic-singletouch.c
litest-device-gpio-keys.c
litest-device-hp-wmi-hotkeys.c test: auto-generate the udev rules 2019-06-14 08:52:58 +10:00
litest-device-huion-pentablet.c tablet: always enable the proximity out quirk 2019-04-08 11:19:19 +10:00
litest-device-ignored-mouse.c
litest-device-keyboard-all-codes.c
litest-device-keyboard-razer-blackwidow.c test: switch to a TEST_DEVICE macro for all the litest test devices 2017-09-21 15:06:17 +10:00
litest-device-keyboard-razer-blade-stealth-videoswitch.c
litest-device-keyboard-razer-blade-stealth.c
litest-device-keyboard.c
litest-device-lid-switch-surface3.c
litest-device-lid-switch.c
litest-device-logitech-trackball.c
litest-device-magic-trackpad.c
litest-device-mouse-low-dpi.c
litest-device-mouse-roccat.c
litest-device-mouse-wheel-click-angle.c
litest-device-mouse-wheel-click-count.c
litest-device-mouse-wheel-tilt.c test: auto-generate the udev rules 2019-06-14 08:52:58 +10:00
litest-device-mouse.c
litest-device-ms-nano-transceiver-mouse.c
litest-device-ms-surface-cover.c
litest-device-nexus4-touch-screen.c
litest-device-protocol-a-touch-screen.c
litest-device-qemu-usb-tablet.c
litest-device-synaptics-hover.c
litest-device-synaptics-i2c.c
litest-device-synaptics-rmi4.c
litest-device-synaptics-st.c
litest-device-synaptics-t440.c
litest-device-synaptics-x1-carbon-3rd.c Switch from udev property parsing to the quirks system 2018-06-08 14:37:22 +10:00
litest-device-synaptics-x220.c
litest-device-thinkpad-extrabuttons.c
litest-device-touch-screen.c
litest-device-touchscreen-fuzz.c
litest-device-touchscreen-invalid-range.c
litest-device-touchscreen-mt-tool.c
litest-device-trackpoint.c test: switch to a TEST_DEVICE macro for all the litest test devices 2017-09-21 15:06:17 +10:00
litest-device-uclogic-tablet.c
litest-device-vmware-virtual-usb-mouse.c
litest-device-wacom-bamboo-2fg-finger.c
litest-device-wacom-bamboo-2fg-pad.c
litest-device-wacom-bamboo-2fg-pen.c
litest-device-wacom-bamboo-16fg-pen.c
litest-device-wacom-cintiq-12wx-pen.c
litest-device-wacom-cintiq-13hdt-finger.c
litest-device-wacom-cintiq-13hdt-pad.c
litest-device-wacom-cintiq-13hdt-pen.c
litest-device-wacom-cintiq-24hd-pen.c
litest-device-wacom-cintiq-24hdt-pad.c
litest-device-wacom-cintiq-pro-16-finger.c
litest-device-wacom-cintiq-pro-16-pad.c
litest-device-wacom-cintiq-pro-16-pen.c
litest-device-wacom-ekr.c
litest-device-wacom-hid4800-pen.c
litest-device-wacom-intuos3-pad.c
litest-device-wacom-intuos5-finger.c
litest-device-wacom-intuos5-pad.c
litest-device-wacom-intuos5-pen.c
litest-device-wacom-isdv4-4200-pen.c
litest-device-wacom-isdv4-e6-finger.c test: switch to a TEST_DEVICE macro for all the litest test devices 2017-09-21 15:06:17 +10:00
litest-device-wacom-isdv4-e6-pen.c
litest-device-wacom-mobilestudio-pro-pad.c
litest-device-waltop-tablet.c
litest-device-wheel-only.c
litest-device-xen-virtual-pointer.c
litest-device-yubikey.c
litest-int.h
litest-selftest.c test: disable coredumps for the selftest 2019-06-26 21:07:21 +10:00
litest.c
litest.h
symbols-leak-test
test-builddir-lookup.c
test-device.c
test-gestures.c
test-keyboard.c
test-library-version.c
test-log.c
test-misc.c
test-pad.c
test-path.c
test-pointer.c
test-quirks.c
test-switch.c
test-tablet.c
test-totem.c
test-touch.c
test-touchpad-buttons.c
test-touchpad-tap.c
test-touchpad.c
test-trackball.c
test-trackpoint.c
test-udev.c
test-utils.c
valgrind.suppressions