diff options
author | Ping Cheng <pinglinux@gmail.com> | 2011-07-06 21:05:41 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-07-07 00:24:15 -0400 |
commit | 998c454e1c850f8e5cc0ae2299c4789b395d6d98 (patch) | |
tree | 6a5da9ef3b66acf8d97b0a0f6c2518c266aeeb86 /drivers | |
parent | 358ea22ee3e14894a2598580297767ccc010119b (diff) |
Input: wacom - add serial number for Graphire4 and old Bamboo
With the removal of BTN_TOOL_FINGER for tablet buttons and
expresskeys, serial number is needed to distingush if the
events were from a regular tool (stylus, eraser, or mouse)
or the attribures (buttons, strips, or wheels) on the tablet
since there are overlapped events between the tools and the
tablet attributes.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/tablet/wacom_wac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index 7ce1294715e2..b93501a3f9e8 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c | |||
@@ -265,6 +265,7 @@ static int wacom_graphire_irq(struct wacom_wac *wacom) | |||
265 | wacom->id[0] = 0; | 265 | wacom->id[0] = 0; |
266 | input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ | 266 | input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ |
267 | input_report_key(input, wacom->tool[0], prox); | 267 | input_report_key(input, wacom->tool[0], prox); |
268 | input_event(input, EV_MSC, MSC_SERIAL, 1); | ||
268 | input_sync(input); /* sync last event */ | 269 | input_sync(input); /* sync last event */ |
269 | } | 270 | } |
270 | 271 | ||