]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
psm(4): respect tap_disabled configuration with enabled Extended support
authorwulf <wulf@FreeBSD.org>
Sat, 20 Apr 2019 21:04:56 +0000 (21:04 +0000)
committerwulf <wulf@FreeBSD.org>
Sat, 20 Apr 2019 21:04:56 +0000 (21:04 +0000)
commitb07da6e7b4f9911e9a267ee2a9fe1f488108252f
treebf7603d3d5ceb64758990edb2157ed5168aa6ec3
parent68284b4a20b775d259931731ff35eb3ccfc14fec
psm(4): respect tap_disabled configuration with enabled Extended support

This fixes a bug where, even when hw.psm.tap_enabled=0, touchpad taps
were processed.
tap_enabled has three states: unconfigured, disabled, and enabled (-1, 0, 1).
To respect PR kern/139272, taps are ignored only when explicity disabled.

Submitted by: Ben LeMasurier <ben@crypt.ly> (initial version)
MFC after: 2 weeks
share/man/man4/psm.4
sys/dev/atkbdc/psm.c