Config file

From Zaparoo Wiki

Revision as of 09:22, 16 December 2024 by Wizzo (talk | contribs) (→‎Example file)

Example file

audio_feedback = true
debug_logging = false

[readers]
auto_detect = true

[readers.scan]
mode = "live" # or "tap" (default)
exit_delay = 3.0
ignore_system = [ "PC", "MSX" ]

[[readers.connect]]
driver = "pn532_uart"
path = "/dev/ttyUSB0"

[[readers.connect]]
driver = "file"
path = "/tmp/some_file"

[[systems.default]]
system = "SNES"
launcher = "SindenSNES"

[launchers]
index_root = [
    "/media/alt_mount/games"
]
allow_file = []

[zapscript]
allow_shell = [
    "touch /tmp/tap_time",
    "/media/fat/linux/mplayer something.mp4"
]

[api]
port = 7497
allow_launch = []