aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atari_scsi.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-08-29 01:00:05 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-29 01:46:04 -0400
commit2072f8db625cbdaba839fe7bb1b607d06884e685 (patch)
treea091298fb8b89f5fe6505072e4dc99f3b0ba9e98 /drivers/scsi/atari_scsi.h
parentba4d695a90c9176fca8e45d6c872bbf4e8bed315 (diff)
Input: wacom_w8001 - send BTN_TOOL_PEN/RUBBER and BTN_STYLUS events
The protocol used by the w8001 supports status fields for tip, side switch and eraser as well as a RDY field for proximity. The protocol has a double usage for the f2 bit in the packet. If set, the data is either pen + side2 button or eraser. Assume eraser if the device comes into proximity with the f2 bit set, otherwise trigger the side2 button. If the device comes into proximity with the f2 bit and that bit disappears afterwards, fake proximity out for the eraser and proximity in for the pen. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/scsi/atari_scsi.h')
0 files changed, 0 insertions, 0 deletions