[PATCH] hid/hid-multitouch: Keep latency normal on deactivate for reactivation gesture

From: Werner Sembach

Date: Thu Nov 06 2025 - 10:46:50 EST


Uniwill devices have a built in gesture in the touchpad to de- and
reactivate it by double taping the upper left corner. This gesture stops
working when latency is set to high, so this patch keeps the latency on
normal.

Signed-off-by: Werner Sembach <wse@xxxxxxxxxxxxxxxxxxx>
---
Or should I better implement this as a quirk?

drivers/hid/hid-multitouch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 179dc316b4b51..df64cb6c41699 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1998,7 +1998,7 @@ static void mt_on_hid_hw_open(struct hid_device *hdev)

static void mt_on_hid_hw_close(struct hid_device *hdev)
{
- mt_set_modes(hdev, HID_LATENCY_HIGH, TOUCHPAD_REPORT_NONE);
+ mt_set_modes(hdev, HID_LATENCY_NORMAL, TOUCHPAD_REPORT_NONE);
}

/*
--
2.43.0