Controlling Whiptail with Controller Input
-
Hey everyone, I'm new here!
I'm creating a online radio shell script using Whiptail for the GUI but I can not figure out how to get controller input working.
I've had a look at the source code for the Retropie-Setup but I'm having no luck.
Could someone please point me in the right direction?
Current progress: radio.sh
(Also please scrutinize my bash code, first time writing it)Cheers,
Arran
-
The RetroPie-Setup scripts use a helper script -
joy2key
- to navigate and enable buttons indialog
enabled scripts. Take a look here to see how it's started/stopped. You cansource
the RetroPie-Setuphelper.sh
or copy the functions you need from it in order to use it in your script.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.