svn commit: r317819 - head/sys/dev/atkbdc
Vladimir Kondratyev
wulf at FreeBSD.org
Thu May 4 23:19:29 UTC 2017
Author: wulf
Date: Thu May 4 23:19:27 2017
New Revision: 317819
URL: https://svnweb.freebsd.org/changeset/base/317819
Log:
Reduce synaptics touch sensitivity
Increase hw.psm.synaptics.min_pressure default value from 16 to 32
to nearly match Linux driver (30-35 hysteresis loop).
This makes libinput tap detection more reliable.
Reviewed by: gonzo
Approved by: gonzo (mentor)
MFC after: 2 weeks
Modified:
head/sys/dev/atkbdc/psm.c
Modified: head/sys/dev/atkbdc/psm.c
==============================================================================
--- head/sys/dev/atkbdc/psm.c Thu May 4 23:17:21 2017 (r317818)
+++ head/sys/dev/atkbdc/psm.c Thu May 4 23:19:27 2017 (r317819)
@@ -5093,7 +5093,7 @@ synaptics_sysctl_create_tree(struct psm_
"Enable two finger scrolling");
/* hw.psm.synaptics.min_pressure. */
- sc->syninfo.min_pressure = 16;
+ sc->syninfo.min_pressure = 32;
SYSCTL_ADD_PROC(&sc->syninfo.sysctl_ctx,
SYSCTL_CHILDREN(sc->syninfo.sysctl_tree), OID_AUTO,
"min_pressure", CTLTYPE_INT|CTLFLAG_RW|CTLFLAG_ANYBODY,
More information about the svn-src-head
mailing list