Config file

From Zaparoo Wiki

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

Example file

audio_feedback = true
debug_logging = false

[insert_mode]
enabled = true
exit_delay = 3.0
ignore_system = [ "PC", "MSX" ]

[readers]
auto_detect = true

[[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 = []