Please add a Bluetooth driver
Having to go to ssh all the time is pure pain
https://www.bountysource.com/issues/75063854-bluetooth-driver-bounty
So the idea would be to have a "bluetooth driver" feature for RA, similar to the current WiFi driver (connmanctl).
The driver would be able to discover, browse and pair to new devices and automatically connect to known devices. Automatic pairing and connection to visible controllers / keyboards could be another interesting feature.
I suppose menu integration is part of the bounty otherwise there's no point in making such a driver. I also suppose the target platform to be Linux (dbus or bluetoothctl could be used), since Lakka is mentioned in the OP.
In any case, I think this is unacceptable

Doing this every time I reconnect is pain
A native Bluetooth input layer would certainly be cool. Would probably be a big undertaking though.
iam using ubuntu 18.04lts,
the bluetooth from it already have auto binding, only need to register for the first time.
i use ps3 dualshock , xbox one s, chinese android bluetooth joystick all works fine
...good for you I guess
native BT input would be pointless in my opinion.
I did some work with btstack on windows back then, got as far as listing the discoverable devices but had no assistance from the RA devs so I never got anywhere.
That said that required winusb/libusb drivers.
The correct approach for this would be similar to what lakka uses to connect to a wifi network. Not a fully fleshed driver but some pairing GUI and let the OS and HID handle input normally
Well the goal is certainly not native Bluetooth input but just a frontend to discover and pair devices from RA
...good for you I guess
i just realize you are using retroarch on android,
in your case might not get same version of bluez tool with ubuntu 18.04lts.
anyway maybe you can try RamonGilabert bluetooth.sh scripting for temporary solution.
its also use bluez console for scripting.
i really only care for lakka
I'm just hoping for a GUI addition for Retroarch/Lakka so you can pair and use the controller all on the same device. Even access to terminal would be start. SSH from another computer to pair a device in Lakka isn't user friendly and likely turns a lot of users away to other platforms. I contributed to the bounty, perhaps others will do the same.
one of the reasons I went with batocera instead. don't want to ssh to lakka just to pair a controller.
Connect to Lakka through SHH then Create a new file using nano...
nano /etc/modprobe.d/bluetooth.conf
Add a single line to the new file...
options bluetooth disable\_ertm=Y
Exit nano, saving the file in the process.
Now connect the controller
scan on
scan off
devices
trust EC:83:50:EF:30:D1 #depend on the device name (EC:83:50:EF:30:D1)
pair EC:83:50:EF:30:D1
connect EC:83:50:EF:30:D1 #do this code many time if not happen from first time
trust EC:83:50:BB:B1:3A #for second player (second Xbox wireless controller)
pair EC:83:50:BB:B1:3A
connect EC:83:50:BB:B1:3A
quit
reboot
bluetoothctl