search for: abs_tool_width

Displaying 1 result from an estimated 1 matches for "abs_tool_width".

2011 Sep 20
0
[PATCH] linux-2.6.18/Input: mousedev - handle mice that use absolute coordinates
...b1b6 -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) }, + .keybit = { [LONG(BTN_LEFT)] = BIT(BTN_LEFT) }, + .absbit = { BIT(ABS_X) | BIT(ABS_Y) }, + }, /* Mouse-li...