]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: keyboard-builtin: Add support for setting IBM trackpoint sensitivity
authorHans de Goede <hdegoede@redhat.com>
Fri, 17 Apr 2015 14:48:07 +0000 (16:48 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 21 Apr 2015 01:14:57 +0000 (11:14 +1000)
commit5defbb5ff664f141293f800c486bc5b723f985ce
tree41089f2487e3518926bd8625afeb09afe8ae1412
parentf29378b4437e0d50e738641de24ec19d41396284
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.
hwdb/70-pointingstick.hwdb
src/udev/udev-builtin-keyboard.c