Homepage Forums RetroPie Project Everything else related to the RetroPie Project Joystick input number changing with different number of controllers Reply To: Joystick input number changing with different number of controllers

#100540
Anonymous
Inactive

So I have a udev rule:

/etc/udev/rules.d/99-x-box.rules

It contains:

KERNEL=="js?", ATTRS{name}=="Xbox Gamepad (userspace driver)", NAME="input/js0"
KERNEL=="js?", ATTRS{name}=="Xbox Gamepad (userspace driver) #2", NAME="input/js1"
KERNEL=="js?", ATTRS{name}=="Xbox Gamepad (userspace driver) #3", NAME="input/js2"
KERNEL=="js?", ATTRS{name}=="Xbox Gamepad (userspace driver) #4", NAME="input/js3"

As far as I remember that is all I had to do to resolve the JS indexing problem. You will still need configurations for players 1-4.