@ramez said in RetroPie and MagicMirror:
EDIT: @cyperghost I can see that your MSS script requires a hardware GPIO button, am I right?
No it can be tight to a button but it can also just be called by script itself. Read more about on its help screen.
The option --es-closeemu brings you back to ES as long as you used to start Pixel officially installed by RetroPie
The option --es-poweroff performs a safe shutdown with metadata saved. So you can tie several parameters to joypad described in your how to.
But it is fundamental that any program must he launched through EmulationStation by runcommand call. The script uses runcommand as starting entry to determine all PIDs that will be closed by script call