Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2025 17:55:17 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8ceca72751bf - main - wsp: Raise the default scr_hor_threshold sysctl.
Message-ID:  <202503071755.527HtHur083443@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202503071755.527HtHur083443>