On Fri, Nov 15, 2013 at 1:33 PM, Chris Bagwell <chris@xxxxxxxxxxxxxx> wrote: > On Fri, Nov 15, 2013 at 2:00 PM, Ping Cheng <pinglinux@xxxxxxxxx> wrote: >> 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. > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html