Re-Enabled streamdeck plugin

This commit is contained in:
2025-07-19 18:23:35 +10:00
parent 1ad3dc37ec
commit 7f9b652918
6 changed files with 96 additions and 18 deletions

View File

@@ -1,12 +1,19 @@
@tool
extends EditorPlugin
## StreamDeck Editor Plugin
##
## This plugin integrates Elgato StreamDeck hardware with the PNGTuber application.
## It registers the ElgatoStreamDeck singleton for WebSocket communication with StreamDeck software.
const AUTOLOAD_NAME = "ElgatoStreamDeck"
## Called when the plugin enters the editor tree
## Registers the StreamDeck singleton autoload
func _enter_tree():
add_autoload_singleton(AUTOLOAD_NAME, "res://addons/godot-streamdeck-addon/singleton.gd")
pass
## Called when the plugin exits the editor tree
## Removes the StreamDeck singleton autoload
func _exit_tree():
remove_autoload_singleton(AUTOLOAD_NAME)
pass