• Peter Hutterer's avatar
    tablet: scale the available pressure range into the pressure thresholds · d93feba1
    Peter Hutterer authored
    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 #332Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    d93feba1
Name
Last commit
Last update
..
builddir.h Loading commit data...
evdev-debounce.c Loading commit data...
evdev-fallback.c Loading commit data...
evdev-fallback.h Loading commit data...
evdev-middle-button.c Loading commit data...
evdev-mt-touchpad-buttons.c Loading commit data...
evdev-mt-touchpad-edge-scroll.c Loading commit data...
evdev-mt-touchpad-gestures.c Loading commit data...
evdev-mt-touchpad-tap.c Loading commit data...
evdev-mt-touchpad-thumb.c Loading commit data...
evdev-mt-touchpad.c Loading commit data...
evdev-mt-touchpad.h Loading commit data...
evdev-tablet-pad-leds.c Loading commit data...
evdev-tablet-pad.c Loading commit data...
evdev-tablet-pad.h Loading commit data...
evdev-tablet.c Loading commit data...
evdev-tablet.h Loading commit data...
evdev-totem.c Loading commit data...
evdev.c Loading commit data...
evdev.h Loading commit data...
filter-flat.c Loading commit data...
filter-low-dpi.c Loading commit data...
filter-mouse.c Loading commit data...
filter-private.h Loading commit data...
filter-tablet.c Loading commit data...
filter-touchpad-x230.c Loading commit data...
filter-touchpad.c Loading commit data...
filter-trackpoint.c Loading commit data...
filter.c Loading commit data...
filter.h Loading commit data...
libinput-git-version.h.in Loading commit data...
libinput-private.h Loading commit data...
libinput-restore-selinux-context.sh Loading commit data...
libinput-uninstalled.pc.in Loading commit data...
libinput-util.c Loading commit data...
libinput-util.h Loading commit data...
libinput-version.h.in Loading commit data...
libinput-versionsort.h Loading commit data...
libinput.c Loading commit data...
libinput.h Loading commit data...
libinput.pc.in Loading commit data...
libinput.sym Loading commit data...
path-seat.c Loading commit data...
quirks.c Loading commit data...
quirks.h Loading commit data...
timer.c Loading commit data...
timer.h Loading commit data...
udev-seat.c Loading commit data...
udev-seat.h Loading commit data...