plugin init

This commit is contained in:
2025-12-28 03:24:26 +01:00
parent 514a60e66c
commit bf2e6f8a44
19 changed files with 2242 additions and 0 deletions
+12
View File
@@ -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();