naxes is always 6 and parts of the code rely on this. Making it less is
probably alright, more will definitely make the driver do misc things.

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/xf86WacomDefs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h
index c333395..e21d29a 100644
--- a/src/xf86WacomDefs.h
+++ b/src/xf86WacomDefs.h
@@ -214,6 +214,7 @@ struct _WacomDeviceRec
        unsigned srdnk[256];    /* keystrokes assigned to right strip up event 
(default is button 4) */
        int nbuttons;           /* number of buttons for this subdevice */
        int naxes;              /* number of axes */
+                               /* FIXME: always 6, and the code relies on 
that... */
 
        WacomCommonPtr common;  /* common info pointer */
 
-- 
1.7.2


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to