493: Undecipherable



-About me-


8Bitdo: udev rules for game controller

Dennis Guse

8bitdo sells some really nice game controllers featuring USB as well as Bluetooth such as SNES30.

At least on Ubuntu, I needed to install custom udev-rules. Otherwise the controller is only recognized as keyboard with four keys.

The following udev-rules were taken from the here.

 1# If applications do NOT detect the 8Bitdo controller when connected via Bluetooth and won't even recognize manual binding, 
 2# fix this by adding these udev rules to force detection - https://github.com/paalfe/mixedcontent/blob/master/udev_rules.d/99-8bitdo-bluetooth-controllers.rules. 
 3# Add the udev rules file to "/etc/udev/rules.d/99-8bitdo-bluetooth-controllers.rules" and reboot. 
 4# Forum thread: http://libretro.com/forums/showthread.php?t=3649 
 5# Useful reading: https://hg.libsdl.org/SDL/file/704a0bfecf75/README-linux.txt
 7# 8Bitdo FC30 1P GamePad Bluetooth mode(START) mode(START+R)
 8SUBSYSTEM=="input", ATTRS{name}=="8Bitdo FC30 GamePad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
10# 8Bitdo FC30 2P GamePad Bluetooth mode(START)
11SUBSYSTEM=="input", ATTRS{name}=="8Bitdo FC30 II", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1" 
13# 8Bitdo FC30 2P GamePad Bluetooth mode(START+R)
14SUBSYSTEM=="input", ATTRS{name}=="8Bitdo FC30 II Joystick", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
16# 8Bitdo SFC30 GamePad Bluetooth mode(START)
17SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SFC30 GamePad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
19# 8Bitdo SFC30 GamePad Bluetooth mode(START+R)
20SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SFC30 GamePad Joystick", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
22# 8Bitdo NES30 GamePad Bluetooth mode(START)
23SUBSYSTEM=="input", ATTRS{name}=="8Bitdo NES30 GamePad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
25# 8Bitdo NES30 GamePad Bluetooth mode(START+R)
26SUBSYSTEM=="input", ATTRS{name}=="8Bitdo NES30 GamePad Joystick", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
28# 8Bitdo SNES30 GamePad Bluetooth mode(START)
29SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SNES30 GamePad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
31# 8Bitdo SNES30 GamePad Bluetooth mode(START+R)
32SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SNES30 GamePad Joystick", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
34# 8Bitdo FC30 Pro GamePad Bluetooth mode(POWER) mode(POWER+R1)
35SUBSYSTEM=="input", ATTRS{name}=="8Bitdo FC30 Pro", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
37# 8Bitdo NES30 Pro GamePad Bluetooth mode(POWER)
38SUBSYSTEM=="input", ATTRS{name}=="8Bitdo NES30 Pro", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
40# 8Bitdo NES30 Pro GamePad Bluetooth mode(POWER+R1)
41SUBSYSTEM=="input", ATTRS{name}=="8Bitdo NES30 Pro Joystick", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
43# 8Bitdo FC30 Arcade Joystick Bluetooth mode(HOME)
44SUBSYSTEM=="input", ATTRS{name}=="8Bitdo Joy", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
46# 8Bitdo Zero GamePad Bluetooth mode(START) mode(START+R)
47SUBSYSTEM=="input", ATTRS{name}=="8Bitdo Zero GamePad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"