]> err.no Git - linux-2.6/commit
Input: mousedev - fix sudden warps with touchpads
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:31:55 +0000 (01:31 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:31:55 +0000 (01:31 -0400)
commit0d9d93c411c9351ba186f5ec910b10da7c1d9d14
tree4c4752f0d4774d1cc3353facad0daba4c0de7285
parentf42649e84831efc69d5f621f1c36a39b4e384a99
Input: mousedev - fix sudden warps with touchpads

Pete Zaitcev reports that with his touchpad, if he lifts the finger
and places it elsewhere, the pointer sometimes warps dramatically.
This happens because we don't store coordinates unless we detect a
touch so sometimes we have stale coordinates in queue (from where
the finger left the pad) and averaging makes cursor to jump across
the screen. The solution is to always store the latest coordinates.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mousedev.c