#1 Controlling Whiptail with Controller Input 2019
-
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
-
There's no link to the code (?).
RetroPie uses a helper (joy2key
) to translate gamepad inputs to keyboard keys, interpreted by thedialog
screens. You can use thejoy2keystart
andjoy2keystop
as wrappers for your script - see https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/helpers.sh.
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.