mdeguzis / RetroRig-ES

(discontinued) EmulationStation flavor of RetroRig. Curated and pre-configured emulation.
Other
24 stars 3 forks source link

Difficulty collecting MAC address of PS3 Controller over bluetooth #5

Open mdeguzis opened 9 years ago

mdeguzis commented 9 years ago

If anyone has some more experience with PS3 controllers over bluetooth Arch Linux, any help is much appreciated. Followed this guide to a tee from the wiki:

https://wiki.archlinux.org/index.php/Gamepad#Playstation_3_Controllers_via_Bluetooth

bluetoothctl | awk -F, '$1 ~ /Device/ {print $1}'

The above seems* to work to get the MAC address at the right stage, but I don't know how to get this more effectively to store it in a var and process it..any help is much appreciated.