Commit Graph

12 Commits

Author SHA1 Message Date
Tomáš Kelemen
b2b2425203
bluetoothctl: add / modify pairing steps (#13818)
due to some changes in bluez / bluetoothctl, `pairable on` is required
in order to create a `[LinkKey]` section in the configuration file for
the connected device. if this section is missing, the device / gamepad
will not pair after being disconnect and has to be repaired again.
2022-04-03 19:29:03 +02:00
Autechre
5f49899343
Bluetooth refactor (#13266)
* Use HAVE_BLUETOOTH ifdef to strip out this code when not defined

* Split up bluetooth code into its own file
2021-11-21 20:44:08 +01:00
Tomáš Kelemen (vudiq)
a2f9273979
Bluetooth: add option to remove pairing
Pressing the START button removes the device pairing. Useful in case
the device (e.g. gamepad) was paired with a different adapter/computer
and needs to be paired again with current adapter/computer.

To pair again, RetroArch needs to be restarted, so the device list is
populated again.

Upstream of patch used by Lakka at build time
1943ad296e/packages/libretro/retroarch/patches/retroarch-98-remove_bluetooth_pairing.patch
2021-11-17 22:15:35 +01:00
twinaphex
2d5e090eb3 Move driver code to driver.c file - move code outside of retroarch.c 2021-11-12 04:45:09 +01:00
twinaphex
b4be553ccc (bluetooth) Cleanups 2020-06-29 00:25:37 +02:00
parport0
f668ed063e (bluetooth drivers) Move driver info to userdata, clean up API 2020-06-28 23:08:58 +03:00
Autechre
b57e6e76c2
Revert "Bluetooth fixes" 2020-06-28 19:40:37 +02:00
parport0
9e3dd965eb (bluetooth) Move driver info to userdata, clean up API 2020-06-28 15:58:01 +03:00
twinaphex
724a9a393e (bluetooth drivers) Cleanups and add TODO/FIXME notes 2020-06-27 19:46:27 +02:00
parport0
a24d2b50a5 bluetooth: split into labels and sublabels 2020-06-24 12:53:27 +03:00
parport0
4f8ccb8642 Add bluez bluetooth driver 2020-06-24 12:53:27 +03:00
parport0
23c08ad9b0 Add bluetoothctl bluetooth driver 2020-06-24 12:53:27 +03:00