aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/input-wacom/files/patch-src-wcmConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/input-wacom/files/patch-src-wcmConfig.c')
-rw-r--r--x11-drivers/input-wacom/files/patch-src-wcmConfig.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-drivers/input-wacom/files/patch-src-wcmConfig.c b/x11-drivers/input-wacom/files/patch-src-wcmConfig.c
new file mode 100644
index 000000000000..e14aa2fa082c
--- /dev/null
+++ b/x11-drivers/input-wacom/files/patch-src-wcmConfig.c
@@ -0,0 +1,16 @@
+--- xf86-input-wacom-0.11.1/src/wcmConfig.c.orig
++++ xf86-input-wacom-0.11.1/src/wcmConfig.c
+@@ -373,9 +373,12 @@ wcmDetectDeviceClass(const InputInfoPtr
+ return TRUE;
+
+ /* Bluetooth is also considered as USB */
++#if 0
+ if (gWacomISDV4Device.Detect(pInfo))
+ common->wcmDevCls = &gWacomISDV4Device;
+- else if (gWacomUSBDevice.Detect(pInfo))
++ else
++#endif
++ if (gWacomUSBDevice.Detect(pInfo))
+ common->wcmDevCls = &gWacomUSBDevice;
+ else
+ xf86Msg(X_ERROR, "%s: cannot identify device class.\n", pInfo->name);