projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db3863
)
Input: MT - do not apply filtering on emulated events
author
Henrik Rydberg
<rydberg@euromail.se>
Sat, 16 Feb 2013 01:03:57 +0000
(17:03 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sat, 16 Feb 2013 02:52:49 +0000
(18:52 -0800)
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 <djkurtz@chromium.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-mt.c
patch
|
blob
|
history
diff --git
a/drivers/input/input-mt.c
b/drivers/input/input-mt.c
index c2f436ce7f5bea722edb236d2e5bf46540599f04..53eaf89f2db5bd4154dd690907aebd609d4facec 100644
(file)
--- 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);
}
}