The Stream Deck Tools library wraps all the communication with the Stream Deck app, allowing you to focus on actually writing the Plugin's logic
DialPress
events sending errors to the logDialDown
and DialUp
events.DialPress
eventDialDown
and DialUp
events.DialPress
event3.2 - 1. Created new ISDConnection interface which is now implemented by SDConnection and used by PluginAction. 2. GlobalSettingsManager now has a short delay before calling GetGlobalSettings, to reduce spamming the Stream Deck SDK. 3. Updated dependencies to latest version
Tools.AutoPopulateSettings
and Tools.FilenameFromPayload
methodsTools.CenterText
function now has optional out textFitsImage
value to verify the text does not exceed the image widthTools.FormatBytes
function converts bytes to human-readable valueTools.FormatNumber()
function converts 54265 to 54.27kGraphics.GetFontSizeWhereTextFitsImage
function helps locate the best size for a text to fit an image on 1 lineGraphics
object: DrawAndMeasureString
/ GetTextCenter