-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
62 lines (62 loc) · 1.43 KB
/
Copy pathconfig.json
File metadata and controls
62 lines (62 loc) · 1.43 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"server": {
"port": 8080,
"defaultCharset": "utf-8"
},
"path": {
"root_path": "./root/",
"plugins_path": "./plugins/",
"mmodules_config_path": "./mmodules_config/"
},
"client": {
"serial_port": "/dev/serial0",
"serial_baud": 9600,
"serial_databits": "cs7",
"serial_parity": "parenb",
"serial_parity_odd": "-parodd",
"serial_stopbits": "-cstopb",
"serial_flow_hw": "-crtscts",
"serial_flow_sw": "-ixon -ixoff",
"serial_echo": "-echo",
"serial_icanon": "-icanon",
"serial_opost": "-opost",
"serial_chunk_size": 128,
"serial_chunk_delay_ms": 200,
"joystick_device_0": "/dev/input/js0",
"joystick_device_1": "/dev/input/js1",
"default_server": "localhost",
"default_port": 8080,
"server_directory": "http://192.168.0.207:8000",
"joystick_enabled": true,
"joystick_mapping_0": {
"buttons": {
"0": "ACTION1",
"1": "ACTION2",
"2": "ACTION1",
"3": "ACTION2"
},
"axes": {
"0+": "RIGHT",
"0-": "LEFT",
"1+": "DOWN",
"1-": "UP"
},
"axis_threshold": 16000
},
"joystick_mapping_1": {
"buttons": {
"0": "ACTION1",
"1": "ACTION2",
"2": "ACTION1",
"3": "ACTION2"
},
"axes": {
"0+": "RIGHT",
"0-": "LEFT",
"1+": "DOWN",
"1-": "UP"
},
"axis_threshold": 16000
}
}
}