Input: psmouse - expose drift duration for IBM trackpoints
authorhaarp <main.haarp@googlemail.com>
Wed, 17 Dec 2014 23:22:08 +0000 (15:22 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 17 Dec 2014 23:46:51 +0000 (15:46 -0800)
IBM Trackpoints have a feature to compensate for drift by recalibrating
themselves periodically. By default, if for 0.5 seconds there is no change
in position, it's used as the new zero. This duration is too low. Often,
the calibration happens when the trackpoint is in fact being used.

IBM's Trackpoint Engineering Specifications show a configuration register
that allows changing this duration, rstdft1.

Expose it via sysfs among the other settings.

Signed-off-by: Mike Murdoch <main.haarp@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/trackpoint.c
drivers/input/mouse/trackpoint.h

Simple merge
Simple merge