The Wacom Bluetooth Keyboard matches the "Wacom class" and so is bound to the
xf86-input-wacom driver. This driver is not designed to work with keyboards,
so we add a new configuration snippet which rebinds it to the "evdev" driver.
This driver is likely present on most systems and will handle keyboards just
fine.

Note that simply adding 'MatchIsKeyboard "false"' to our existing snippets
would cause devices like the Cintiq 24HDT Pad and Cintiq 27QHDT Pad from
binding to our driver since both are recognized as (partial) keyboards due
to the presence of KEY_* kernel events.

Fixes: https://sourceforge.net/p/linuxwacom/bugs/294/
Fixes: https://github.com/linuxwacom/xf86-input-wacom/issues/1

Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 conf/50-wacom.conf | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/conf/50-wacom.conf b/conf/50-wacom.conf
index fc0eed2..019fd95 100644
--- a/conf/50-wacom.conf
+++ b/conf/50-wacom.conf
@@ -57,3 +57,18 @@ Section "InputClass"
        Option "Button2" "3"
 EndSection
 
+# https://sourceforge.net/p/linuxwacom/bugs/294/
+# "Wacom Bluetooth Keyboard mistakenly bound to xf86-input-wacom driver"
+#
+# - Force keyboard-only devices like the Wacom Bluetooth Keyboard
+#   to re-bind to the "evdev" driver. Some systems may need to use
+#   the "libinput" driver (or maybe even the ancient "kbd") instead.
+Section "InputClass"
+       Identifier "Wacom Keyboard class"
+       MatchDriver "wacom"
+       MatchIsKeyboard "true"
+       MatchIsTablet "false"
+       MatchIsTouchscreen "false"
+       MatchIsTouchpad "false"
+       Driver "evdev"
+EndSection
-- 
2.7.1


------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to