@WDW plug in a working controller and press start then exit emulationstation(takes you to command line).
type: sudo /home/pi/RetroPie-Setup/retropie_setup.sh (setup menu)
then go to config, then find bluetooth. (while youre here check 8bitdo hack is off). Next forget devices and reconnect one gamepad.
If it stays connected then:
run: jstest /dev/input/js0 (checks input of first controller device- press buttons)
If the previous works then you might have a problem with emulationstation or something thus i dont know how to fix.
If not then try the following:
sudo hciconfig hci0 reset
(resets bluetooth adapter)
sudo invoke-rc.d bluetooth restart
(then restart it)
sudo bluetoothctl
(open bluetooth commandline)
scan on
( start scanning)
output looks like this:
[CHG] Controller xx:xx:xx:xx:xx:xx Discovering: yes
[NEW] Device xx:xx:xx:xx:xx:xx LAPTOP-4BNKAVN8
[NEW] Device E4:17:D8:A2:0C:72 8BitDo N30 Pro 2
[bluetooth]# pair E4:17:D8:A2:0C:72
(pair your mac address)
will output like this
Attempting to pair with E4:17:D8:A2:0C:72
[CHG] Device E4:17:D8:A2:0C:72 Connected: yes
[CHG] Device E4:17:D8:A2:0C:72 Modalias: usb:v2DC8p2865d0100
[CHG] Device E4:17:D8:A2:0C:72 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device E4:17:D8:A2:0C:72 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device E4:17:D8:A2:0C:72 ServicesResolved: yes
[CHG] Device E4:17:D8:A2:0C:72 Paired: yes
Pairing successful
(then trust it)
trust E4:17:D8:A2:0C:72
(then connect it)
connect xx:xx:xx:xx:xx
NOTE- change the address to yours.