Config file: Difference between revisions
From Zaparoo Wiki
Created page with "== Example file == <syntaxhighlight lang="toml" line="1"> 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 = [] [z..." |
|||
Line 7: | Line 7: | ||
enabled = true | enabled = true | ||
exit_delay = 3.0 | exit_delay = 3.0 | ||
ignore_system = [ "PC", MSX" ] | ignore_system = [ "PC", "MSX" ] | ||
[readers] | [readers] |
Revision as of 05:20, 16 December 2024
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 = [
"/media/fat/linux/command.sh",
"/media/fat/mplayer something.mp4"
]
[api]
port = 7497
allow_launch = []