initial commit

This commit is contained in:
Zack Hoherchak 2022-02-15 14:36:50 -05:00
commit 0a4fe9ee9c
29 changed files with 2686 additions and 2 deletions

View file

@ -0,0 +1,19 @@
/// <reference path="libs/js/action.js" />
/// <reference path="libs/js/deck.js" />
const streamDeck = new StreamDeck();
/**
* The first event fired when Stream Deck starts
*/
streamDeck.onConnected(({actionInfo, appInfo, connection, messageType, port, uuid}) => {
const myAction = new Action('com.elgato.template.action');
myAction.onKeyUp(({action, context, device, event, payload}) => {
streamDeck.openUrl('https://developer.elgato.com/documentation/stream-deck/sdk/overview/');
console.log('Your code goes here!');
streamDeck.showOk(context);
});
});