Input: synaptics - initialize pointer emulation usage
authorHenrik Rydberg <rydberg@euromail.se>
Sat, 16 Feb 2013 01:04:03 +0000 (17:04 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Feb 2013 02:52:54 +0000 (18:52 -0800)
commit0b85bf78d4aedfdd4bcb1b848045111a5b840310
treee26563791c2d3b66c3f6a0b4ce13b59a2a68c1a4
parent352ce2b0575f195c8e6452a9802e6c186b39409a
Input: synaptics - initialize pointer emulation usage

To properly setup event parameters for emulated events, pass
the appropriate flag to the slot initialization function. Also,
all MT-related events should be setup before initialization.

Incidentally, this solves the issue of doubly filtered pointer
events.

Reported-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c