@matalog said in Controller index:
@meleu
I have been using this http://github.com/meleu/Retropie-input-selection that you suggested to me, and in game my Wii U Pro controller is always is the first controller, it's great.
your Wii U controller is the first in RetroArch only. It's not the js0. My script only let you change the input_playerX_joypad_index (player1 for the first controller in RetroArch). It doesn't change the /dev/input/jsX order.
Although, if I have a wired controller and my wirreless controller connected - in the runcommand screen that appears just before a game loads, that lets you choose which emulator and video options - my Wii U Pro controller doesn't have any control there. I have to use the wired controller.
Does this mean js0 doesn't have priority until in game or how is the controller that has control on the runcommand screen chosen?
I took a look at runcommand.sh and found this line of code:
__joy2key_dev=$(ls -1 /dev/input/js* 2>/dev/null | head -n1)
This means that runcommand will take the first joystick found in /dev/input/, usually it's the js0. If you are using the wired controller for runcommand menu, I think it's your js0.
(Sorry if my answer is too technical. I hope it's clear. )