From d5288f42ed2213f6935761037ad0babf1cb63084 Mon Sep 17 00:00:00 2001 From: mokopatches Date: Wed, 19 Nov 2008 17:03:17 +0000 Subject: input-nots-mousedev.patch This patch disables the reporting of touchscreen-like devices via /dev/input/mice. In the Neo1973 (much like other handheld devices), we need this to distinguish between the touchscreen (which uses tslib) and optional additional usb/bluetooth mice that might be attached. Signed-off-by: Harald Welte --- drivers/input/mousedev.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/input/mousedev.c') diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index d8c056fe7e9..4ed4c1fe727 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c @@ -1016,6 +1016,7 @@ static const struct input_device_id mousedev_ids[] = { .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) }, .relbit = { BIT_MASK(REL_WHEEL) }, }, /* A separate scrollwheel */ +#if 0 { .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT | @@ -1025,6 +1026,7 @@ static const struct input_device_id mousedev_ids[] = { .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) }, }, /* A tablet like device, at least touch detection, two absolute axes */ +#endif { .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT | -- cgit v1.2.3