udev: keyboard-builtin: Add support for setting IBM trackpoint sensitivity

IBM / Lenovo trackpoints allow specifying a sensitivity setting through a
ps/2 command, which changes the range of the deltas sent when using the
trackpoint.

On some models with normal usage only deltas of 1 or 2 are send, resulting in
there only being 2 mouse cursor movement speeds, rather than the expected fluid
scale. Changing the sensitivity to a higher level than the bootup default fixes
this.

This commit adds support for setting a POINTINGSTICK_SENSITIVITY value
in hwdb to allow changing the sensitivity on boot through udev / hwdb.
This commit is contained in:
Hans de Goede
2015-04-21 11:14:57 +10:00
committed by Peter Hutterer
parent f29378b443
commit 5defbb5ff6
2 changed files with 40 additions and 0 deletions
+12
View File
@@ -41,6 +41,7 @@
#
# Allowed properties are:
# POINTINGSTICK_CONST_ACCEL
# POINTINGSTICK_SENSITIVITY
#
#########################################
# POINTINGSTICK_CONST_ACCEL #
@@ -53,6 +54,17 @@
# by how much to multiply deltas generated by the pointingstick to get
# normalized deltas.
#
#########################################
# POINTINGSTICK_SENSITIVITY #
#########################################
#
# TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
# POINTINGSTICK_SENSITIVITY=<sensitivity>
#
# Where <sensitivity> is a number between 0 and 255, note this property
# only applies to TPPS/2 IBM TrackPoint devices, see
# drivers/input/mouse/trackpoint.c in the Linux kernel sources.
#
#
# Sort by by brand, model