diff --git a/60-xorg-xwiimote.conf b/60-xorg-xwiimote.conf index b003adf..17de4a0 100644 --- a/60-xorg-xwiimote.conf +++ b/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" @@ -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