plugin init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import streamDeck, { LogLevel } from "@elgato/streamdeck";
|
||||
|
||||
import { IncrementCounter } from "./actions/increment-counter";
|
||||
|
||||
// We can enable "trace" logging so that all messages between the Stream Deck, and the plugin are recorded. When storing sensitive information
|
||||
streamDeck.logger.setLevel(LogLevel.TRACE);
|
||||
|
||||
// Register the increment action.
|
||||
streamDeck.actions.registerAction(new IncrementCounter());
|
||||
|
||||
// Finally, connect to the Stream Deck.
|
||||
streamDeck.connect();
|
||||
Reference in New Issue
Block a user