-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.example
32 lines (29 loc) · 1.09 KB
/
config.json.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
// Adjust the serial port names to match your devices.
// Run the server with the "--list" argument to list available serial ports.
// E.g. "COM1" (Windows), "/dev/ttyUSB0" (Linux)
// "serialPorts": [
// "/dev/ttyS0",
// "/dev/ttyS1"
// ],
"serialPorts": [
"COM1",
"COM2"
],
// Set XML mappings; the format of these files came from the sample Unity
// project at https://github.com/supersoulstudio/100ButtonsExample
// These files contain lists of numbers. Hardware button numbers will
// be mapped to a new button number defined at that position in the array.
// For example, if the first number in the list is 32, the server will report
// hardware button 0's status under button 32.
"mappingFiles": [
"cal0.xml",
"cal1.xml"
],
// Set the web server port (you can also use the PORT environment variable).
// Setting it to 0 will pick a random available port.
"port": 3000,
// Host on which to listen for connections. Set to "0.0.0.0" or "::" (IPV6) to
// listen on all available network interfaces (only do this if needed).
"host": "127.0.0.1"
}