forked from byuoitav/shipyard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuiConfig.go
More file actions
26 lines (22 loc) · 790 Bytes
/
uiConfig.go
File metadata and controls
26 lines (22 loc) · 790 Bytes
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
package shipyard
type UIConfig struct {
ID string `json:"id"`
ControlPanels map[string]string `json:"controlPanels"`
ControlGroups map[string]ControlGroup `json:"controlGroups"`
}
type UIControlGroup struct {
PowerOff ControlSet `json:"powerOff"`
DefaultState ControlSet `json:"defaultState"`
Displays map[string]UIDisplay `json:"displays"`
Inputs []string `json:"inputs"`
Microphones map[string][]string `json:"microphones"`
Cameras []string `json:"cameras"`
MasterVolume MasterVolume `json:"masterVolume"`
}
type MasterVolume struct {
Device string `json:"device"`
Block string `json:"block"`
}
type UIDisplay struct {
DefaultInput string `json:"defaultInput"`
}