Displaying 1 result from an estimated 1 matches for "btn_tool_finger".
2011 Sep 20
0
[PATCH] linux-2.6.18/Input: mousedev - handle mice that use absolute coordinates
...by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Olaf Hering <olaf@aepfle.de>
diff -r f4f25124b1b6 -r 56c7b8e10d3b drivers/input/mousedev.c
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -712,6 +712,12 @@ static struct input_device_id mousedev_i
.keybit = { [LONG(BTN_TOOL_FINGER)] = BIT(BTN_TOOL_FINGER) },
.absbit = { BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE) | BIT(ABS_TOOL_WIDTH) },
}, /* A touchpad */
+ {
+ .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT | INPUT_DEVICE_ID_MATCH_ABSBIT,
+ .evbit = { BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_SYN) },
+...