[brcm63xx] resync kernel configuration
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1047-input-nots-mousedev.patch.patch
1 From 5c2f325aefe9280ae6f1220200bf40281d218fda Mon Sep 17 00:00:00 2001
2 From: mokopatches <mokopatches@openmoko.org>
3 Date: Sun, 13 Apr 2008 07:23:48 +0100
4 Subject: [PATCH] input-nots-mousedev.patch
5 This patch disables the reporting of touchscreen-like devices via
6 /dev/input/mice. In the Neo1973 (much like other handheld devices),
7 we need this to distinguish between the touchscreen (which uses tslib)
8 and optional additional usb/bluetooth mice that might be attached.
9
10 Signed-off-by: Harald Welte <laforge@openmoko.org>
11 ---
12 drivers/input/mousedev.c | 2 ++
13 1 files changed, 2 insertions(+), 0 deletions(-)
14
15 diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
16 index be83516..0ae06bb 100644
17 --- a/drivers/input/mousedev.c
18 +++ b/drivers/input/mousedev.c
19 @@ -1009,6 +1009,7 @@ static const struct input_device_id mousedev_ids[] = {
20 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) },
21 .relbit = { BIT_MASK(REL_WHEEL) },
22 }, /* A separate scrollwheel */
23 +#if 0
24 {
25 .flags = INPUT_DEVICE_ID_MATCH_EVBIT |
26 INPUT_DEVICE_ID_MATCH_KEYBIT |
27 @@ -1018,6 +1019,7 @@ static const struct input_device_id mousedev_ids[] = {
28 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) },
29 }, /* A tablet like device, at least touch detection,
30 two absolute axes */
31 +#endif
32 {
33 .flags = INPUT_DEVICE_ID_MATCH_EVBIT |
34 INPUT_DEVICE_ID_MATCH_KEYBIT |
35 --
36 1.5.6.5
37
This page took 0.044482 seconds and 5 git commands to generate.