mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-18 22:30:41 +02:00
Revert "touchpad: only use negative pressure change check on Lenovo *50 and *60 series"
We will reinstate the hysteresis for all devices making the negative pressure
check unncessary and thus this commit as well.
This reverts commit 2f5231cc88.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
dd73c5391e
commit
8d73275166
1 changed files with 1 additions and 3 deletions
|
|
@ -1018,7 +1018,6 @@ tp_detect_jumps(const struct tp_dispatch *tp, struct tp_touch *t)
|
|||
static void
|
||||
tp_process_state(struct tp_dispatch *tp, uint64_t time)
|
||||
{
|
||||
struct evdev_device *device = tp->device;
|
||||
struct tp_touch *t;
|
||||
unsigned int i;
|
||||
bool restart_filter = false;
|
||||
|
|
@ -1044,8 +1043,7 @@ tp_process_state(struct tp_dispatch *tp, uint64_t time)
|
|||
if (!t->dirty)
|
||||
continue;
|
||||
|
||||
if ((device->model_flags & EVDEV_MODEL_LENOVO_T450_TOUCHPAD) &&
|
||||
t->pressure_delta < -7)
|
||||
if (t->pressure_delta < -7)
|
||||
tp_motion_history_reset(t);
|
||||
|
||||
if (tp_detect_jumps(tp, t)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue