Files
mars3142_collection/libs/js/constants.js
T
mars3142 fbf40f75b2 first plugins for Ulanzi D200H
- petrol watch
- copilot usage

Signed-off-by: Peter Siegmund <developer@mars3142.org>
2026-04-09 20:42:31 +02:00

47 lines
1.0 KiB
JavaScript

/**
* Events used for communicating with Ulanzi Stream Deck
*/
const Events = Object.freeze({
CONNECTED: 'connected',
CLOSE: 'close',
ERROR: 'error',
ADD: 'add',
RUN: 'run',
PARAMFROMAPP: 'paramfromapp',
PARAMFROMPLUGIN: 'paramfromplugin',
SETACTIVE: 'setactive',
CLEAR: 'clear',
TOAST:'toast',
STATE:'state',
OPENURL:'openurl',
OPENVIEW:'openview',
SELECTDIALOG:'selectdialog',
LOGMESSAGE:'logMessage',
HOTKEY:'hotkey',
SENDTOPROPERTYINSPECTOR:'sendToPropertyInspector',
SENDTOPLUGIN:'sendToPlugin',
SHOWALERT:'showAlert',
GETSETTINGS:'getSettings',
SETSETTINGS:'setSettings',
DIDRECEIVESETTINGS:'didReceiveSettings',
SETGLOBALSETTINGS:'setGlobalSettings',
GETGLOBALSETTINGS:'getGlobalSettings',
DIDRECEIVEGLOBALSETTINGS:'didReceiveGlobalSettings',
KEYDOWN:'keydown',
KEYUP:'keyup',
DIALEDOWN:'dialdown',
DIALEUP:'dialup',
DIALROTATE:'dialrotate'
});
/**
* Errors received from WebSocket
*/
const SocketErrors = {
DEFAULT:'closed *****'
};