batocera-ES-onArch

Emulationstation from batocera with configs and scripts for integration as Arch-Linux package

This project is maintained by GB609

/opt/batocera-emulationstation/support/os-menu

Overview

Show/Hide images for the current profile mapping when ‘Y’ is pressed.

Index

shutdown

Shortcut function to directly open the shutdown submenu.
Used when the ‘GUIDE’ button is pressed again while in ‘navigation’ mode. Has 2 modes of operation:

  1. When the menu is open already, jump to the submenu ‘shutdown’
  2. Otherwise open the menu itself first.

The second mode is required to ensure consistent controlling, as the menu might somehow have been closed without going back to ‘set 1’. In that case the controls would be stuck because the ‘GUIDE’ button operates differently in ‘navigation’ mode.

show

Main entry point and function. Defines the menu itself and passes it to `[openMenu].

openMenu

Encapsulates building and showing a pre-defined menu.
This function just passed through the argument array on stdin to jgmenu and adds some command line arguments.
If $_PRE_SELECT is set to the name of a valid submenu, --checkout=$_PRE_SELECT will be added to directy open the respective submenu.

Generated with shdoc from /opt/batocera-emulationstation/support/os-menu