forked from Stradetch/EyeControl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configuration_Demo.json
113 lines (113 loc) · 2.23 KB
/
Configuration_Demo.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"screen_width": 10,
"screen_height": 10,
"max_speed": 200,
"offset_x": 7,
"offset_y": 7,
"panels": [
{
"name": "first panel",
"controls": [
{
"type": "DIAL",
"top": 3,
"bottom": 7,
"left": 3,
"right": 7,
"stick": "RIGHT"
},
{
"type": "BUTTON",
"name": "hold down",
"top": 0,
"bottom": 2,
"left": 0,
"right": 2,
"delay": 300,
"hold": true,
"toggle": false,
"pswitch": 0,
"keys": [
"R2"
]
},
{
"type": "BUTTON",
"name": "auto-walk",
"top": 4,
"bottom": 6,
"left": 0,
"right": 2,
"delay": 300,
"hold": true,
"toggle": true,
"pswitch": 0,
"keys": [
"L_up"
]
},
{
"type": "BUTTON",
"name": "press once",
"top": 0,
"bottom": 2,
"left": 2,
"right": 4,
"delay": 500,
"hold": false,
"toggle": false,
"pswitch": 0,
"keys": [
"A"
]
},
{
"type": "BUTTON",
"name": "switch panels",
"top": 0,
"bottom": 2,
"left": 8,
"right": 10,
"delay": 1000,
"hold": false,
"toggle": false,
"pswitch": "second panel",
"keys": []
}
]
},
{
"name": "second panel",
"controls": [
{
"type": "BUTTON",
"name": "switch back",
"top": 8,
"bottom": 10,
"left": 0,
"right": 2,
"delay": 1000,
"hold": false,
"toggle": false,
"pswitch": "first panel",
"keys": []
},
{
"type": "BUTTON",
"name": "exit",
"top": 8,
"bottom": 10,
"left": 8,
"right": 10,
"delay": 2000,
"hold": false,
"toggle": false,
"pswitch": "first panel",
"keys": [
"QUIT"
]
}
]
}
]
}