-
Notifications
You must be signed in to change notification settings - Fork 0
/
node.json
180 lines (179 loc) · 5.08 KB
/
node.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "Content Configuration",
"control_ui": "control.html",
"custom_ui": "config.html",
"permissions": {
"gpio": "Might need access to GPIO",
"input": "Might need access to input devices",
"network": "Needs network access for synchronization across devices"
},
"optional": [
".*(html|js)$",
"^icon-.*",
"^doc-.*"
],
"options": [{
"title": "Pages",
"name": "pages",
"type": "list",
"itemname": "Page",
"items": [{
"title": "Name",
"ui_width": 4,
"name": "name",
"type": "string",
"default": "Content Page"
}, {
"title": "UUID",
"ui_width": 4,
"name": "uuid",
"type": "string",
"readonly": true,
"default": ""
}, {
"title": "Asset",
"ui_width": 4,
"name": "asset",
"type": "resource",
"valid": ["image", "video"],
"default": "empty.png"
}, {
"title": "On Enter trigger",
"ui_width": 12,
"name": "on_enter",
"type": "string",
"hint": "Triggered once this page starts playing.",
"default": ""
}, {
"title": "On Exit trigger",
"ui_width": 12,
"name": "on_exit",
"type": "string",
"hint": "Triggered once this page is unloaded.",
"default": ""
}, {
"title": "Links",
"name": "links",
"type": "list",
"itemname": "Target",
"items": [{
"title": "Target page UUID",
"ui_width": 3,
"name": "target_uuid",
"type": "string",
"readonly": true,
"default": ""
}, {
"title": "Transition",
"ui_width": 3,
"name": "transition",
"type": "select",
"options": [
["l2r", "Scroll right"],
["r2l", "Scroll left"],
["t2b", "Scroll down"],
["b2t", "Scroll up"],
["zoom_in", "Zoom in"],
["zoom_out", "Zoom out"],
["fade", "Fade"],
["none", "Instant"]
],
"default": "zoom_in"
}, {
"title": "Type",
"ui_width": 3,
"name": "type",
"type": "select",
"options": [
["touch", "Touch"],
["timeout", "Timeout"],
["key", "Key Press"],
["gpio", "GPIO Event"]
],
"default": "touch"
}, {
"title": "Option",
"ui_width": 3,
"name": "options",
"type": "json",
"default": {}
}, {
"title": "On Activated trigger",
"ui_width": 12,
"name": "on_trigger",
"type": "string",
"hint": "Triggered immediately once this link is activated.",
"default": ""
}]
}]
}, {
"title": "Resolution",
"ui_width": 3,
"name": "resolution",
"type": "json",
"default": [1920, 1080]
}, {
"title": "Display rotation",
"ui_width": 3,
"name": "rotation",
"type": "select",
"hint": "Rotate content clockwise?",
"doc_link": true,
"options": [
[0, "0"],
[90, "90"],
[180, "180"],
[270, "270"]
],
"default": 0
}, {
"title": "Audio",
"ui_width": 3,
"name": "audio",
"type": "boolean",
"default": false
}, {
"title": "Aspect fit",
"ui_width": 3,
"name": "scale",
"type": "boolean",
"default": false
},
{
"title": "Advanced configuration",
"type": "section"
}, {
"title": "Touch calibration",
"ui_width": 3,
"name": "calibration",
"type": "select",
"options": [
["1:1", "1:1"],
["4000x4000", "4000x4000 -> 1920x1080"]
],
"default": "1:1"
}, {
"title": "Transition time",
"ui_width": 2,
"name": "transition_time",
"type": "float",
"default": 0.3
}, {
"title": "Peer to peer input",
"ui_width": 7,
"name": "local_only",
"type": "select",
"options": [
[true, "P2P disabled"],
[false, "Propagate input events to all local devices running same setup"]
],
"default": true
}, {
"title": "Trigger UDP target address",
"ui_width": 12,
"name": "trigger_target",
"type": "string",
"placeholder": "E.g. 255.255.255.255. Leave empty to disable",
"default": ""
}]
}