diff --git a/.gitignore b/.gitignore index 5b9d187..706affd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +*.cfg + # Antlr4 *.interp *.tokens diff --git a/server.cfg b/server.cfg index a7e4f5f..8dfb072 100644 --- a/server.cfg +++ b/server.cfg @@ -1,16 +1,28 @@ +; This file contains the configuration data for HogNet devices. + [network] ; Comma seperated list of config section names. ; The first Hog4 in the list will be the default OSC reciever. - hogs = hog4PC +hogs = hog4,hedgehog -[hog4PC] - ip: 127.0.0.1 - port: 7001 - net: 1 +; The device is named as a section. ; When adding additional devices, be sure to add the section -; name to the index on line 4. -;[hedgehog] -; ip: 10.235.1.63 -; port: 7001 -; net: 63 +; name to the index on line 6. +[example] +; the IPv4 or IPv6 address of the Hog device +ip: 127.0.0.1 +; the port which is configured for OSC input +port: 7001 +; the net number, which may be called in the comment macro +net: 1 + +[hog4] +ip: 10.235.1.53 +port: 7001 +net: 53 + +[hedgehog] +ip: 10.235.1.63 +port: 7001 +net: 63