Skip to content

Commit

Permalink
Ignore independent extensions
Browse files Browse the repository at this point in the history
We do not support classic/pro controller extensions in this driver so let
evdev handle these.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
  • Loading branch information
David Herrmann committed Aug 4, 2013
1 parent 44d170a commit 385608d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions 60-xorg-xwiimote.conf
@@ -1,6 +1,9 @@
# X11 xorg xf86-input-xwiimote config
# Load correct xwiimote driver for all connected Nintendo Wii Remotes.
# Overwrite previous blacklist.
# We do not load the driver on unsupported extensions. This currently includes
# independent extension like classic-controller and pro-controller. Instead, the
# evdev driver is loaded (there is no way to negate InputClass Match* rules..)

Section "InputClass"
Identifier "Nintendo Wii Remote"
Expand All @@ -9,3 +12,19 @@ Section "InputClass"
Option "Ignore" "off"
Driver "xwiimote"
EndSection

Section "InputClass"
Identifier "Nintendo Wii Remote Classic Controller Whitelist"
MatchProduct "Nintendo Wii Remote Classic Controller"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "Nintendo Wii Remote Pro Controller Whitelist"
MatchProduct "Nintendo Wii Remote Pro Controller"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "evdev"
EndSection

0 comments on commit 385608d

Please sign in to comment.