input: Synchronize multiple mice handled through evdevmouse plugin
authorJohannes Zellner <johannes.zellner@nokia.com>
Thu, 17 May 2012 22:16:55 +0000 (15:16 -0700)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 May 2012 14:02:06 +0000 (16:02 +0200)
commit39c5bad574ab9db7f4127d433d54dcc33f57465b
treef6cdb4b5e277ffeda260ab2f593bcacb23c41479
parent33fb856a6da3a1897cc7ac6ea8e482006b7196b1
input: Synchronize multiple mice handled through evdevmouse plugin

EvdevMouseManager now receives relative pointer coordinates from each
connected mouse and is then responsible for clamping and forwarding them
to the QWindowSystemInterface. This avoids jumping cursors when multiple
pointer devices are connected. This does not change behavior together
with devices handled through the evdevtouch plugin.

Change-Id: I7feb358f68c3b3ebd138116224b4747c88c6761f
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
src/plugins/generic/evdevmouse/qevdevmousehandler.cpp
src/plugins/generic/evdevmouse/qevdevmousehandler.h
src/plugins/generic/evdevmouse/qevdevmousemanager.cpp
src/plugins/generic/evdevmouse/qevdevmousemanager.h