psm(4): Enable touchpads and trackpads by default

Enable synaptics and elantech touchpads, as well as IBM/Lenovo TrackPoints
by default, instead of having users find and toggle a loader tunable.
This makes things like two finger scroll and other modern features work out
of the box with X.  By enabling these settings by default, we get a better
desktop experience in X, since xserver and evdev can make use of the more
advanced synaptics and elantech features.

Reviewed by:	imp, wulf, 0mp
Approved by:	imp
Sponsored by:	B3 Init (zeising)
Differential Revision:	https://reviews.freebsd.org/D20507
This commit is contained in:
Niclas Zeising 2019-06-10 18:19:49 +00:00
parent cd02c6b10d
commit 2dd9a967d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348873

View File

@ -513,9 +513,9 @@ static devclass_t psm_devclass;
/* Tunables */
static int tap_enabled = -1;
static int verbose = PSM_DEBUG;
static int synaptics_support = 0;
static int trackpoint_support = 0;
static int elantech_support = 0;
static int synaptics_support = 1;
static int trackpoint_support = 1;
static int elantech_support = 1;
/* for backward compatibility */
#define OLD_MOUSE_GETHWINFO _IOR('M', 1, old_mousehw_t)