diff options
| author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2015-01-05 16:32:13 -0500 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2015-01-06 04:08:44 -0500 |
| commit | 61e9e7e40a93cfb4a70180beefbbb5bd0c860aeb (patch) | |
| tree | a29d637c005eeb377eef1ec473b98f53277917dc | |
| parent | d97a552210320d3bec8ee22b8ccdb1d6d189482a (diff) | |
HID: wacom: add support of the Pen of the Bamboo Pad
Bamboo Pads are using the generic processing but their report descriptors
differ from the ISDv* line. The pen fields are marked with the .physical
as Digitizer_Pen, which makes also sense.
Add this field to the checks and enable for free Bamboo Pads.
Reported-by: Josep Sanchez Ferreres <josep.sanchez.ferreres@est.fib.upc.edu>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
| -rw-r--r-- | drivers/hid/wacom_wac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h index 7436f2be433d..7afd9294927a 100644 --- a/drivers/hid/wacom_wac.h +++ b/drivers/hid/wacom_wac.h | |||
| @@ -74,6 +74,7 @@ | |||
| 74 | 74 | ||
| 75 | #define WACOM_PEN_FIELD(f) (((f)->logical == HID_DG_STYLUS) || \ | 75 | #define WACOM_PEN_FIELD(f) (((f)->logical == HID_DG_STYLUS) || \ |
| 76 | ((f)->physical == HID_DG_STYLUS) || \ | 76 | ((f)->physical == HID_DG_STYLUS) || \ |
| 77 | ((f)->physical == HID_DG_PEN) || \ | ||
| 77 | ((f)->application == HID_DG_PEN)) | 78 | ((f)->application == HID_DG_PEN)) |
| 78 | #define WACOM_FINGER_FIELD(f) (((f)->logical == HID_DG_FINGER) || \ | 79 | #define WACOM_FINGER_FIELD(f) (((f)->logical == HID_DG_FINGER) || \ |
| 79 | ((f)->physical == HID_DG_FINGER) || \ | 80 | ((f)->physical == HID_DG_FINGER) || \ |
