Emulationstation from batocera with configs and scripts for integration as Arch-Linux package
This project is maintained by GB609
join multiple strings into one, separated by the first argument given uses IFS internally, so it will only take the first character of $1 even when the string is longer
Iterates over variables named p{1..8}guid and p{1..8}name.
Constructs an array of filter parameters as can be passed to btc-config effectiveProperties
to retrieve SDL mappings for the given search strings.
At least guid for a controller must exist, names will default to .* if not given.
usage: source <(_gamepadArgsToFilterDefinitions)
Function has no arguments.
declare -p _gamepadFilters=('guid:deviceName'{0..n})Generated with shdoc from /opt/emulatorlauncher/lib/.value-transformations.lib