Config file: Difference between revisions
From Zaparoo Wiki
Line 4: | Line 4: | ||
debug_logging = false | debug_logging = false | ||
[ | [readers] | ||
auto_detect = true | |||
[readers.scan] | |||
mode = "live" # or "tap" (default) | |||
exit_delay = 3.0 | exit_delay = 3.0 | ||
ignore_system = [ "PC", "MSX" ] | ignore_system = [ "PC", "MSX" ] | ||
[[readers.connect]] | [[readers.connect]] |
Revision as of 09:22, 16 December 2024
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 = []