The Pi has four ports. Two on the front and two on the left side of the case. The number of controllers or other USB connected accessories you will be connecting determines where to plug each controller/accessory in.
If you’ve plugged your controllers/accessories in the wrong ports and they’re not working correctly, unplug all USBs and power off the Pi. Then plug in according to the description below and power on again.
For two controllers only
If you will only be using two controllers, plug them into the two front ports. The USB port on the front left is the boss port.
In this case, the left port on the front is Player 1. The right port on the front is Player 2.
More than two controllers or two controllers and other USB connected accessories like a mini keyboard
When you plug in more than two game controllers or two game controllers and a mini keyboard, the top port on the left side of the Pi case becomes the boss port.
Therefore, you’ll need to plug your Player 1 controller into the top port on the left side of the Pi case.
The bottom port on the left side is the Player 2 port.
The left port on the front is Player 3 (or mini keyboard, etc).
The right port on the front is Player 4.
To configure the buttons on your game controller – Basic Method
Pick up your Player 1 controller and press the Start button. This menu should appear.
If it does not, grab a keyboard with a USB receiver and plug that into the USB port on the right side of the front of the Pi case. Press 1 on your keyboard. Now the menu should appear.
Using your Player 1 game controller arrow down to Configure Input and press B.
Press B to click Yes when asked, Are you sure you want to configure input?
Follow the on screen prompts. If your controller doesn’t have certain buttons such as Left Trigger, press and hold B for 3 seconds to move to the next input and so on. Press Select for Hotkey Enable.
Press A when OK is highlighted. It takes a minute for the screen to clear.
Player 1 done!
If you have a second, third or fourth game controller, repeat the process for each one.