Thread (8 messages) 8 messages, 3 authors, 2013-11-26

Re: [PATCH 4/4 v3] Input: wacom - add SW_TOUCH to include/uapi/linux/input.h

From: Chris Bagwell <hidden>
Date: 2013-11-15 21:45:19

On Fri, Nov 15, 2013 at 3:38 PM, Ping Cheng [off-list ref] wrote:
On Fri, Nov 15, 2013 at 1:33 PM, Chris Bagwell [off-list ref] wrote:
quoted
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.
Opps, overlooked that part of patch... Also, I was thinking originally
you sent this as its own patch and I didn't expect it here.

Never mind then.

Chris
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help