aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/mousedev.c
diff options
context:
space:
mode:
authormokopatches <mokopatches@openmoko.org>2008-11-19 17:03:17 +0000
committerwarmcat <andy@warmcat.com>2008-11-19 17:03:17 +0000
commitd5288f42ed2213f6935761037ad0babf1cb63084 (patch)
tree24c882d2fffa2a7aa2a7f29cf9937e840c418808 /drivers/input/mousedev.c
parent9b18ffc383e56f8f70c0657593a106d4a76d210b (diff)
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 <laforge@openmoko.org>
Diffstat (limited to 'drivers/input/mousedev.c')
-rw-r--r--drivers/input/mousedev.c2
1 files changed, 2 insertions, 0 deletions
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 |