linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Added support for the Wacom Bamboo Pen (CTL-660/K)
@ 2011-07-09  7:14 Gerard Braad
  2011-07-09 20:44 ` Chris Bagwell
  0 siblings, 1 reply; 2+ messages in thread
From: Gerard Braad @ 2011-07-09  7:14 UTC (permalink / raw)
  To: Chris Bagwell; +Cc: linux-input, Gerard Braad

---
 drivers/input/tablet/wacom_wac.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index 08ba5ad..23c9a40 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -1460,6 +1460,9 @@ static const struct wacom_features wacom_features_0xD3 =
 static const struct wacom_features wacom_features_0xD4 =
 	{ "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     14720,  9200,  255,
 	  63, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+static const struct wacom_features wacom_features_0xD5 =
+	{ "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     21648, 13530, 1023,
+	  63, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xD6 =
 	{ "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720,  9200, 1023,
 	  63, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
@@ -1551,6 +1554,7 @@ const struct usb_device_id wacom_ids[] = {
 	{ USB_DEVICE_WACOM(0xD2) },
 	{ USB_DEVICE_WACOM(0xD3) },
 	{ USB_DEVICE_WACOM(0xD4) },
+	{ USB_DEVICE_WACOM(0xD5) },
 	{ USB_DEVICE_WACOM(0xD6) },
 	{ USB_DEVICE_WACOM(0xD7) },
 	{ USB_DEVICE_WACOM(0xD8) },
-- 
1.7.5.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Added support for the Wacom Bamboo Pen (CTL-660/K)
  2011-07-09  7:14 [PATCH] Added support for the Wacom Bamboo Pen (CTL-660/K) Gerard Braad
@ 2011-07-09 20:44 ` Chris Bagwell
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Bagwell @ 2011-07-09 20:44 UTC (permalink / raw)
  To: Gerard Braad; +Cc: linux-input

On Sat, Jul 9, 2011 at 2:14 AM, Gerard Braad <me@gbraad.nl> wrote:
> ---
>  drivers/input/tablet/wacom_wac.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
> index 08ba5ad..23c9a40 100644
> --- a/drivers/input/tablet/wacom_wac.c
> +++ b/drivers/input/tablet/wacom_wac.c
> @@ -1460,6 +1460,9 @@ static const struct wacom_features wacom_features_0xD3 =
>  static const struct wacom_features wacom_features_0xD4 =
>        { "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     14720,  9200,  255,
>          63, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
> +static const struct wacom_features wacom_features_0xD5 =
> +       { "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     21648, 13530, 1023,
> +         63, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>  static const struct wacom_features wacom_features_0xD6 =
>        { "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720,  9200, 1023,
>          63, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };

There is kinda a convention in other Bamboo names to show the tablet
size when multiple sizes exist.  Since it has the same max's as 0xD3,
it looks like this this new pen-only 0xD5 should have "6X8" at end of
its name.

Now that we advertise the resolution with ABS_X/ABS_Y, its not all
that useful of a convention any more.

With or without that modification:

Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>

With this latest addition, 0xD9 is the only remaining whole in 0xD0 to
0xDB series so hopefully we are about done with these Bamboo
additions.

Chris

> @@ -1551,6 +1554,7 @@ const struct usb_device_id wacom_ids[] = {
>        { USB_DEVICE_WACOM(0xD2) },
>        { USB_DEVICE_WACOM(0xD3) },
>        { USB_DEVICE_WACOM(0xD4) },
> +       { USB_DEVICE_WACOM(0xD5) },
>        { USB_DEVICE_WACOM(0xD6) },
>        { USB_DEVICE_WACOM(0xD7) },
>        { USB_DEVICE_WACOM(0xD8) },
> --
> 1.7.5.2
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-09 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-09  7:14 [PATCH] Added support for the Wacom Bamboo Pen (CTL-660/K) Gerard Braad
2011-07-09 20:44 ` Chris Bagwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).