summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpingc <pingc>2006-08-31 18:20:23 +0000
committerpingc <pingc>2006-08-31 18:20:23 +0000
commit42869f6e9fc2d82e4e0bf1d3a10b75ca49db2b73 (patch)
tree5e2643e5427e23d9b536956bcad41a83dbd7215f
parent2a32e01ded808123670456aa474935cf116abc07 (diff)
downloadxf86-input-wacom-42869f6e9fc2d82e4e0bf1d3a10b75ca49db2b73.tar.gz
Keep Graphire4 naxes as 6 for nowrelease-0_7_5release-0.7.5
-rwxr-xr-xsrc/xdrv/wcmUSB.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/xdrv/wcmUSB.c b/src/xdrv/wcmUSB.c
index 596039e..e2f48d0 100755
--- a/src/xdrv/wcmUSB.c
+++ b/src/xdrv/wcmUSB.c
@@ -605,13 +605,19 @@ int usbWcmGetRanges(LocalDevicePtr local)
static int usbDetectConfig(LocalDevicePtr local)
{
- unsigned long abs[NBITS(ABS_MAX)];
WacomDevicePtr priv = (WacomDevicePtr)local->private;
WacomCommonPtr common = priv->common;
if (IsPad (priv))
{
priv->nbuttons = common->npadkeys;
+
+/* This code will be used when we are ready to report valuators in tablet and tool
+ * specific form, whcih will need to clean InitValuatorAxisStruct() in xf86Wacom.c
+ * and all the calls to X related to valuators, such as xf86PostButtonEvent and
+ * xf86PostButtonEvent, etc. Code under util will need to be updaed as well.
+ * This will need some time. We put it in the to-do list for now. Ping
+ unsigned long abs[NBITS(ABS_MAX)];
priv->naxes = 0;
if (ioctl(local->fd, EVIOCGBIT(EV_ABS, sizeof(abs)), abs) >= 0)
{
@@ -622,7 +628,7 @@ static int usbDetectConfig(LocalDevicePtr local)
if (!priv->naxes)
priv->flags |= BUTTONS_ONLY_FLAG;
}
- }
+*/ }
else
priv->nbuttons = common->nbuttons;