If everything is working properly, pressing buttons on the controller will cause them to change. A quick trip to the preference panel for the program you will use the RetroPad USB NES Controller with allows you to set what each button does. For example, suppose the 'A' button on a USB SNES controller has a value of '1.' When setting up the controller, EmulationStation would prompt you to press the 'A' button on your controller. When it finishes installing, run this command to start the test: When setting up the controller in EmulationStation, these values are then assigned a respective action on RetroArch. We'll use the joystick toolset to make sure everything is working.
In the terminal window, enter the following command, replacing MAC_ADDRESS with the Xbox controller MAC address.Īfter connecting the controller, make sure it's listed as a trusted device with this command-again replacing MAC_ADDRESS with the one for the Xbox.Ĭlose the bluetoothctl application by typing quit 5. Repeat for all the controls you want to remap.
Click a button, and from the on-screen keyboard that appears, click the key you want to map it to. Select the various groups of controls that you want to map. Take note of the MAC address, we'll need it to connect the controller. A new window will open with a controller. It should appear in the list of devices with a unique MAC address and the words "wireless controller" at the end. Put the Xbox controller into Pairing mode.
Next, we'll start scanning for available Bluetooth devices. We have a few settings to adjust first.Įnable agent with the following commands: Don't put the controller into pairing mode just yet. Now we need to search for the Xbox controller. To disable the ERTM, run the following command:Įcho 'options bluetooth disable_ertm=Y' | sudo tee -a /etc/modprobe.d/nfĪfter the Pi reboots, start Bluetooth Tools with the following command: Connect the NES Classic Controller to port No. If ERTM is enabled, the controller won't pair with the Pi. Connect one end of the USB cable to the AC adapter and the other end to the USB port to the back of the. Disable Enhanced Re-Transmission Mode (ERTM) If playback doesnt begin shortly, try restarting your device. Open one on Raspberry Pi OS or remote into the Pi using a terminal application of your choice. NES and SNES Emulators with USB Controllers. To connect an Xbox controller using Bluetooth, you'll need a terminal window.