aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2011-08-27 02:18:22 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-08-27 02:20:21 -0400
commit1fab84aa635572fbd74df8fd4fd25ea0a24c76e5 (patch)
tree51cdd06dfecf2d3379a7252099432e80453c7b64 /drivers/input
parentcfb7d557242783bc3bfe77683ced20b4909258ec (diff)
Input: wacom - advertise BTN_TOOL_PEN and BTN_STYLUS for PenPartner
The Wacom PenPartner should advertise its stylus tip and button in addition to the eraser tool. These are both physically present on the hardware, and emitted from 'wacom_penpartner_irq'. Signed-off-by: Jason Gerecke <killertofu@gmail.com> Reviewed-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/tablet/wacom_wac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index 3eccf212d5b2..2d88316d0e54 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -1191,13 +1191,13 @@ void wacom_setup_input_capabilities(struct input_dev *input_dev,
1191 case PL: 1191 case PL:
1192 case PTU: 1192 case PTU:
1193 case DTU: 1193 case DTU:
1194 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
1195 __set_bit(BTN_STYLUS, input_dev->keybit);
1196 __set_bit(BTN_STYLUS2, input_dev->keybit); 1194 __set_bit(BTN_STYLUS2, input_dev->keybit);
1197 /* fall through */ 1195 /* fall through */
1198 1196
1199 case PENPARTNER: 1197 case PENPARTNER:
1198 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
1200 __set_bit(BTN_TOOL_RUBBER, input_dev->keybit); 1199 __set_bit(BTN_TOOL_RUBBER, input_dev->keybit);
1200 __set_bit(BTN_STYLUS, input_dev->keybit);
1201 break; 1201 break;
1202 1202
1203 case BAMBOO_PT: 1203 case BAMBOO_PT: