input: do not ignore a touch event on emulator
authorgiwoong.kim <giwoong.kim@samsung.com>
Mon, 5 Nov 2012 08:08:10 +0000 (17:08 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Mon, 5 Nov 2012 11:42:41 +0000 (20:42 +0900)
A click event of host mouse is a touch event on emulator.
The current touch event may be same as the previous coordinate data.
In this case, do not ignore a touch event.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
drivers/input/input.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 8921c61..bc65549
@@ -198,8 +198,10 @@ static int input_handle_abs_event(struct input_dev *dev,
        if (pold) {
                *pval = input_defuzz_abs_event(*pval, *pold,
                                                dev->absinfo[code].fuzz);
+#ifndef CONFIG_MARU /* do not ignore on emulator */
                if (*pold == *pval)
                        return INPUT_IGNORE_EVENT;
+#endif
 
                *pold = *pval;
        }