git: 8ceca72751bf - main - wsp: Raise the default scr_hor_threshold sysctl.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Mar 2025 17:55:17 UTC
The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=8ceca72751bf21752a19c450a3b4a9cd98b94d85 commit 8ceca72751bf21752a19c450a3b4a9cd98b94d85 Author: Joshua Rogers <Joshua@Joshua.Hu> AuthorDate: 2025-03-07 17:53:34 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> CommitDate: 2025-03-07 17:53:34 +0000 wsp: Raise the default scr_hor_threshold sysctl. The previous value caused nearly every horizontal movement to be classed as a left/right-keyboard button-click. Signed-off-by: Joshua Rogers <Joshua@Joshua.Hu> --- sys/dev/usb/input/wsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/input/wsp.c b/sys/dev/usb/input/wsp.c index 4c41dcdbba8f..f9b85f926221 100644 --- a/sys/dev/usb/input/wsp.c +++ b/sys/dev/usb/input/wsp.c @@ -110,7 +110,7 @@ static struct wsp_tuning { .pressure_touch_threshold = 50, .pressure_untouch_threshold = 10, .pressure_tap_threshold = 120, - .scr_hor_threshold = 20, + .scr_hor_threshold = 50, .max_finger_area = 1900, .max_double_tap_distance = 2500, .enable_single_tap_clicks = 1,