shortcuts
When the shortcut list changes on the device or it receives the Request for state synchronization, Director Mini device sends the data of shortcut list to the receiver.
For how to configure the receiver, please refer to How to use TouchOSC to control Director Mini.
Address
/status/shortcuts [json string]
Arguments
|
Type |
Description |
argument 1 |
String |
The data of shortcut list |
Example
After receiving Request for state synchronization, Director Mini device sends the data of shortcut list to the receiver.
/status/shortcuts [{"functions":[{"id":311,"name":"PTZ move left"},{"id":29,"name":"Wait for 500 ms"},{"id":317,"name":"PTZ stop moving"}],"id":1725522037805,"name":"Move Left"},{"functions":[{"id":315,"name":"PTZ move right"},{"id":29,"name":"Wait for 500 ms"},{"id":317,"name":"PTZ stop moving"}],"id":1725524226309,"name":"Move Right"},{"functions":[{"id":12,"name":"Switch to the next scene"}],"id":1725525445613,"name":"Next Scene"}]
Name |
Type |
Description |
list |
Array of ShortcutsInfo |
The shortcut list |
ShortcutsInfo
Name |
Type |
Description |
id |
Int |
The unique ID of the shortcut |
name |
String |
The shortcut name |
functions |
Array of FunctionInfo |
The function list |
FunctionInfo
Name |
Type |
Description |
id |
Int |
The unique ID of the function |
name |
String |
The function name |