deep breath OK, here is what I want to do:
- Fire up bluetooth. (got this to work)
- Pair my Wii U Pro Controller with my Lakka unit (yes, it does work with the instructions from this: http://www.lakka.tv/doc/Wii-Remote/)
- Configure the Wii U Pro Controller automatically like the Dual Shock 3/4 and XBox 360/One controllers (had to do it myself, no biggie). Saved the configuration for future use.
- Persistence across reboots (another hard-as-hell one to nail down).
- Automatically sync the Wii U Pro Controller with my Lakka unit as soon as I hit the Power button on the controller. (This is a hell of a lot harder)…
I tried writing a startup script to perform this upon reboot, but I get the following error message:
login as: root
[email protected]'s password:
###########################################
# Lakka - The DIY retro emulation console #
# ...... visit http://www.lakka.tv ...... #
###########################################
Lakka (official): 2.1-rc6 (Generic.x86_64)
Lakka:~ # sh /storage/.config/autostart.sh
[NEW] Controller 08:D4:0C:AD:E8:31 BlueZ 5.43 [default]
[NEW] Device 40:D2:8A:E8:CB:FB Nintendo RVL-CNT-01-UC
[NEW] Device 28:A1:83:41:F1:D8 PLAYSTATION(R)3 Controller
[bluetooth]# quit
[DEL] Controller 08:D4:0C:AD:E8:31 BlueZ 5.43 [default]
/storage/.config/autostart.sh: line 5: connect: not found
My script looks like this:
(
bluetoothctl;
connect <MAC address of Wii U Pro Controller>
) &
HELP!