* [PATCH] Input: wacom_serial4 - prepare for wacom USB moving to HID
@ 2014-07-24 20:31 Dmitry Torokhov
2014-07-25 19:06 ` Hans de Goede
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2014-07-24 20:31 UTC (permalink / raw)
To: Julian Squires, Hans de Goede, Benjamin Tissoires
Cc: linux-input, linux-kernel
wacom_wac.h will be moving to drivers/hid. Since we only need 3 definitions
from it let's simply copy them over.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
drivers/input/tablet/wacom_serial4.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/input/tablet/wacom_serial4.c b/drivers/input/tablet/wacom_serial4.c
index d3d251e..deef50e 100644
--- a/drivers/input/tablet/wacom_serial4.c
+++ b/drivers/input/tablet/wacom_serial4.c
@@ -149,6 +149,11 @@ MODULE_LICENSE("GPL");
#define F_HAS_STYLUS2 0x02
#define F_HAS_SCROLLWHEEL 0x04
+/* device IDs */
+#define STYLUS_DEVICE_ID 0x02
+#define CURSOR_DEVICE_ID 0x06
+#define ERASER_DEVICE_ID 0x0A
+
enum { STYLUS = 1, ERASER, CURSOR };
static const struct {
--
2.0.0.526.g5318336
--
Dmitry
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Input: wacom_serial4 - prepare for wacom USB moving to HID
2014-07-24 20:31 [PATCH] Input: wacom_serial4 - prepare for wacom USB moving to HID Dmitry Torokhov
@ 2014-07-25 19:06 ` Hans de Goede
2014-07-25 19:42 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2014-07-25 19:06 UTC (permalink / raw)
To: Dmitry Torokhov, Julian Squires, Benjamin Tissoires
Cc: linux-input, linux-kernel
Hi,
On 07/24/2014 10:31 PM, Dmitry Torokhov wrote:
> wacom_wac.h will be moving to drivers/hid. Since we only need 3 definitions
> from it let's simply copy them over.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Ack, but you will want to drop the #include of wacom_wac.h yoo.
Regards,
Hans
> ---
> drivers/input/tablet/wacom_serial4.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/input/tablet/wacom_serial4.c b/drivers/input/tablet/wacom_serial4.c
> index d3d251e..deef50e 100644
> --- a/drivers/input/tablet/wacom_serial4.c
> +++ b/drivers/input/tablet/wacom_serial4.c
> @@ -149,6 +149,11 @@ MODULE_LICENSE("GPL");
> #define F_HAS_STYLUS2 0x02
> #define F_HAS_SCROLLWHEEL 0x04
>
> +/* device IDs */
> +#define STYLUS_DEVICE_ID 0x02
> +#define CURSOR_DEVICE_ID 0x06
> +#define ERASER_DEVICE_ID 0x0A
> +
> enum { STYLUS = 1, ERASER, CURSOR };
>
> static const struct {
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Input: wacom_serial4 - prepare for wacom USB moving to HID
2014-07-25 19:06 ` Hans de Goede
@ 2014-07-25 19:42 ` Dmitry Torokhov
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2014-07-25 19:42 UTC (permalink / raw)
To: Hans de Goede
Cc: Julian Squires, Benjamin Tissoires, linux-input, linux-kernel
On Fri, Jul 25, 2014 at 09:06:28PM +0200, Hans de Goede wrote:
> Hi,
>
> On 07/24/2014 10:31 PM, Dmitry Torokhov wrote:
> > wacom_wac.h will be moving to drivers/hid. Since we only need 3 definitions
> > from it let's simply copy them over.
> >
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
>
> Ack, but you will want to drop the #include of wacom_wac.h yoo.
Right, that was in my v2 ;)
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-25 19:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24 20:31 [PATCH] Input: wacom_serial4 - prepare for wacom USB moving to HID Dmitry Torokhov
2014-07-25 19:06 ` Hans de Goede
2014-07-25 19:42 ` Dmitry Torokhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.