From: giwoong.kim Date: Mon, 5 Nov 2012 08:08:10 +0000 (+0900) Subject: input: do not ignore a touch event on emulator X-Git-Tag: 2.2.1_release^2~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30783f8ed4122097b7e7c14f841cb657b57d5f37;p=sdk%2Femulator%2Femulator-kernel.git input: do not ignore a touch event on emulator 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 --- diff --git a/drivers/input/input.c b/drivers/input/input.c old mode 100644 new mode 100755 index 8921c6180c51..bc655490376c --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -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; }