From: Henrik Rydberg Date: Sat, 16 Feb 2013 01:03:57 +0000 (-0800) Subject: Input: MT - do not apply filtering on emulated events X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=352ce2b0575f195c8e6452a9802e6c186b39409a;p=linux-beck.git Input: MT - do not apply filtering on emulated events The pointer emulation events are derived from contact values that have already been filtered, so send the emulated events as is. Reported-by: Daniel Kurtz Signed-off-by: Henrik Rydberg Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index c2f436ce7f5b..53eaf89f2db5 100644 --- a/drivers/input/input-mt.c +++ b/drivers/input/input-mt.c @@ -18,6 +18,7 @@ static void copy_abs(struct input_dev *dev, unsigned int dst, unsigned int src) { if (dev->absinfo && test_bit(src, dev->absbit)) { dev->absinfo[dst] = dev->absinfo[src]; + dev->absinfo[dst].fuzz = 0; dev->absbit[BIT_WORD(dst)] |= BIT_MASK(dst); } }