diff options
author | Greenscreener <honzikcernoh@gmail.com> | 2022-07-24 14:41:50 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-11-23 11:41:42 +1000 |
commit | 6eefde01f04454c8b0df1dedd2bbf77086206c09 (patch) | |
tree | 7dd6c7daea176b137d1ba0c73e7ee72ae5e77b1c | |
parent | 66f41d6225b34ca02a4a70d2a101e82c561c51d7 (diff) | |
download | xf86-input-wacom-6eefde01f04454c8b0df1dedd2bbf77086206c09.tar.gz |
Fixing discrepancy in naxes
See https://github.com/linuxwacom/xf86-input-wacom/pull/222#discussion_r897908702
-rw-r--r-- | src/wcmConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wcmConfig.c b/src/wcmConfig.c index da6a030..014fc70 100644 --- a/src/wcmConfig.c +++ b/src/wcmConfig.c @@ -1230,8 +1230,8 @@ Bool wcmDevInit(WacomDevicePtr priv) priv->common->wcmModel->DetectConfig (priv); nbaxes = priv->naxes; /* X, Y, Pressure, Tilt-X, Tilt-Y, Wheel */ - if (!nbaxes || nbaxes > 7) - nbaxes = priv->naxes = 7; + if (!nbaxes || nbaxes > 6) + nbaxes = priv->naxes = 6; nbbuttons = priv->nbuttons; /* Use actual number of buttons, if possible */ if (IsPad(priv) && TabletHasFeature(priv->common, WCM_DUALRING)) |