-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json5
204 lines (195 loc) · 5.01 KB
/
config.json5
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/* This is a JSON5 file. It's similar to JSON but allows comments and more. See json5.org! */
{
// Set this to true to show each pressed key on console (useful for figuring out key IDs)
showKeyPresses: false,
switcherIP: "10.0.14.14",
// If set to false, only the backlight of the keys defined below is ever changed and all others
// will be left untouched
clearBacklightOnStartup: true,
initialBrightness: 255,
// Set this to true if your panel has a T-bar but you do not want it to control the ATEM
disableTbar: false,
keys: [
/* Internals */
{
key: 1,
function: 'backlight_up' // Increases XKeys backlight by about 5%
},
{
key: 2,
function: 'backlight_down' // Decreases XKeys backlight by about 5%
},
/* Transitions */
{
key: 124,
additionalLEDs: [116], // This is a double wide key so it needs to control two LEDs
function: 'ftb'
},
{
key: 128,
additionalLEDs: [120],
function: 'cut' // Performs a cut transition
},
{
key: 119,
additionalLEDs: [127],
function: 'auto' // Triggers an auto transition
},
{
key: 94,
function: 'transition', // Sets the transition type
transition: 0 // Mix
},
{
key: 102,
function: 'transition', // Sets the transition type
transition: 2 // Wipe
},
{
key: 93,
function: 'wipe_prev' // Selects the previous wipe pattern on the list
},
{
key: 101,
function: 'wipe_next' // Selects the next wipe pattern on the list
},
/* Source modifiers */
{
key: 22,
function: 'program_mode' // Toggles program mode in which pressing source keys directly affect the program bus
// This can be used on smaller panels where you don't have enough room for separate 'source_pgm' keys
},
{
key: 6,
function: 'shift' // Shifts source keys to an alternative bank of sources while held down
},
{
key: 14,
function: 'shift_toggle' // Toggles shifting source keys to alternative bank on and off
},
/* Sources (preview) */
{
key: 8,
function: 'source',
source: 1,
shiftSource: 3010 // Accessed via shift key (see above)
},
{
key: 16,
function: 'source',
source: 2
},
{
key: 24,
function: 'source',
source: 3
},
{
key: 32,
function: 'source',
source: 4
},
{
key: 40,
function: 'source',
source: 5
},
{
key: 48,
function: 'source',
source: 6
},
{
key: 56,
function: 'source',
source: 7
},
{
key: 64,
function: 'source',
source: 8
},
{
key: 72,
function: 'source',
source: 3010 // Media Player 1
},
{
key: 80,
function: 'source',
source: 3020 // Media Player 2
},
{
key: 88,
function: 'source',
source: 1000 // Color Bars
},
{
key: 96,
function: 'source',
source: 0 // Black
},
/* Sources (program) */
{
key: 7,
function: 'source_pgm',
source: 1,
shiftSource: 3010 // Accessed via shift key (see above)
},
{
key: 15,
function: 'source_pgm',
source: 2
},
{
key: 23,
function: 'source_pgm',
source: 3
},
{
key: 31,
function: 'source_pgm',
source: 4
},
{
key: 39,
function: 'source_pgm',
source: 5
},
{
key: 47,
function: 'source_pgm',
source: 6
},
{
key: 55,
function: 'source_pgm',
source: 7
},
{
key: 63,
function: 'source_pgm',
source: 8
},
{
key: 71,
function: 'source_pgm',
source: 3010 // Media Player 1
},
{
key: 79,
function: 'source_pgm',
source: 3020 // Media Player 2
},
{
key: 87,
function: 'source_pgm',
source: 1000 // Color Bars
},
{
key: 95,
function: 'source_pgm',
source: 0 // Black
},
]
}