Re: [PATCH 4/4 v3] Input: wacom - add SW_TOUCH to include/uapi/linux/input.h
From: Ping Cheng <hidden>
Date: 2013-11-15 21:38:45
On Fri, Nov 15, 2013 at 1:33 PM, Chris Bagwell [off-list ref] wrote:
On Fri, Nov 15, 2013 at 2:00 PM, Ping Cheng [off-list ref] wrote:quoted
New Intuos series models added a hardware switch to turn touch data on/off. To report the state of the switch, SW_TOUCH is added in include/uapi/linux/input.h.Any status on your patch to add SW_TOUCH event? Maybe you should resend since its been a while and this patch depends on it.
Which patch do we still need? Isn't this the one? Without the below change, the driver would not compile.
quoted hunk ↗ jump to hunk
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index a372627..fcddcb1 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h@@ -856,6 +856,7 @@ struct input_keymap_entry { #define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */ #define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */ #define SW_LINEIN_INSERT 0x0d /* set = inserted */ +#define SW_TOUCH 0x0e /* set = touch switch turned on (touch events off) */ #define SW_MAX 0x0f #define SW_CNT (SW_MAX+1)
Ping