From: Benjamin Tissoires Date: Mon, 5 Jan 2015 21:32:13 +0000 (-0500) Subject: HID: wacom: add support of the Pen of the Bamboo Pad X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=61e9e7e40a93cfb4a70180beefbbb5bd0c860aeb;p=deliverable%2Flinux.git 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 Signed-off-by: Benjamin Tissoires Reviewed-by: Jason Gerecke Signed-off-by: Jiri Kosina --- 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 @@ #define WACOM_PEN_FIELD(f) (((f)->logical == HID_DG_STYLUS) || \ ((f)->physical == HID_DG_STYLUS) || \ + ((f)->physical == HID_DG_PEN) || \ ((f)->application == HID_DG_PEN)) #define WACOM_FINGER_FIELD(f) (((f)->logical == HID_DG_FINGER) || \ ((f)->physical == HID_DG_FINGER) || \