On Sun, Aug 01, 2010 at 12:46:11AM +0200, Thomas Spura wrote: > Am Thu, 29 Jul 2010 12:45:13 +1000 > schrieb Peter Hutterer <[email protected]>: > > > On Wed, Jul 28, 2010 at 08:04:10PM -0400, Rafi Rubin wrote: > > > I rebased to 0.10.8, the change is pretty much the same. > > > > > > --- > > > > > > Add ntrig vendor and device codes. > > > > > > --- > > > src/wcmUSB.c | 5 ++++- > > > src/xf86WacomDefs.h | 1 + > > > 2 files changed, 5 insertions(+), 1 deletions(-) > > > > > > diff --git a/src/wcmUSB.c b/src/wcmUSB.c > > > index 169ad26..1d4c243 100644 > > > --- a/src/wcmUSB.c > > > +++ b/src/wcmUSB.c > > > @@ -471,7 +471,10 @@ static struct > > > { WALTOP_VENDOR_ID, 0x500, 2540, 2540, &usbBamboo }, > > > { WALTOP_VENDOR_ID, 0x501, 2540, 2540, &usbBamboo }, > > > { WALTOP_VENDOR_ID, 0x502, 5080, 5080, &usbIntuos4 }, > > > - { WALTOP_VENDOR_ID, 0x503, 5080, 5080, &usbIntuos4 } > > > + { WALTOP_VENDOR_ID, 0x503, 5080, 5080, &usbIntuos4 }, > > > + > > > + /* N-Trig devices */ > > > + { NTRIG_VENDOR_ID, 0x01, 1122, 934, &usbTabletPC } > > > }; > > > > > > static Bool usbWcmInit(LocalDevicePtr local, char* id, float > > > *version) diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h > > > index 7b5a34c..a527547 100644 > > > --- a/src/xf86WacomDefs.h > > > +++ b/src/xf86WacomDefs.h > > > @@ -30,6 +30,7 @@ > > > /* vendor IDs on the kernel device */ > > > #define WACOM_VENDOR_ID 0x056a > > > #define WALTOP_VENDOR_ID 0x172F > > > +#define NTRIG_VENDOR_ID 0x1b96 > > > > > > #define DEFAULT_SUPPRESS 2 /* default suppress */ > > > #define MAX_SUPPRESS 100 /* max value of suppress */ > > > -- > > > 1.7.1 > > > > looks good to me - Thomas, does this change work for you? > > > > Cheers, > > Peter > > Yes, it does. > Thanks a lot! > > Now even right click is working (partly good). When only hovering above > the screen and pressing the right click button on the pen, X triggers a > right click, but it should only do so, when being pressed on the screen > (with still pressed right click button). > > The rest of the pen is great :) > > Thomas).
patch pushed, thanks for the patch and the testing. Cheers, Peter ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
