

Input_x_btn = “2” #X button on controller Input_y_btn = “3” #Y button on controller Input_b_btn = “1” #B button on controller Input_a_btn = “0” #A button on controller Input_l_x_plus_axis = “+0” #Left Thumb right Input_l_x_minus_axis = “-0” #Left Thumb Left Input_l_y_minus_axis = “-1” #Left Thumb down Input_l_y_plus_axis = “+1” #Left Thumb up Input_r_y_plus_axis = “+3” #Right Thumb up Input_r_y_minus_axis = “-3” #Right Thumb down Input_r_x_minus_axis = “-2” #Right Thumb left Input_r_x_plus_axis = “+2” #Right Thumb Right Input_device = “Xbox Gamepad (userspace driver)” Here is my config file all commented and organized: As you comment the file, you’ll end up with stuff you don’t have a button for. You can re-arrange the buttons in the config file to so that they are grouped together to make more sense. Now go put the comments in your config file. Now move it to the left and you’ll see a big negative number like 2:-34324322 This means that +2 is the right thumb stick moved to the right and that -2 is the right thumbstick moved to the left. You will see a big number on the screen like 2: 32342343. For instance the right thumbstick, move it to the right. Now in your config file you can put a comment next to that line.įor the analog thumbsticks those are a little confusing at first. For instance you press the right elbow button on the controller and you see 5: off go to 5: on. Once you find it you can go through the mappings. You are trying to find the right js number for your pad. Do you see anything going from off to on? If not ctrl+c and try a different joypad (ex jstest js2). Now press some buttons on the controller. You should see a js0 or js1 or js2 or js3 depending on where your controller is plugged into. go to root directory and into /dev/input. On the keyboard plugged into the pi press f4 and then any key to go to the command prompt. But it’s not going to be obvious to you that input_r3_btn = “12” is the right joystick being pressed down or that input_r_btn = “5” is the right elbow button above the trigger. The buttons in this file were programmed in step 4. This was created when you installed the 360 driver. You should see an XboxGamepad(userspacedriver).cfg file. Using winscp go to /opt/retropie/configs/all/retroarch-joypads. At this point the controller should be usable but you should take it a step further…Ħ. Go into the controller config from the start menu and go through the button presses.ĥ.

When it restarts all the xbox lights in the center should be blinking until ES loads. Now shut it down and plug in the controllerĤ. Then go the retroarch emulator and into the settings. You really only need to input the up/down/left/right a and b buttons. emulstation will want you to configure it which is fine. On first startup don’t have your controller plugged in, just use a keyboard. This is the best thing you can do for setting up a pi…ġ. Everything seems to work differently in 3.3. The problem is a lot of the information and youtube videos on controller configs are dated.
