• Stars
    star
    462
  • Rank 94,832 (Top 2 %)
  • Language
    C#
  • License
    MIT License
  • Created almost 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

BarRaider's Stream Deck Tools

C# library that wraps all the communication with the Stream Deck App, allowing you to focus on actually writing the Plugin's logic.

Build Status  NuGet

Author's website and contact information: https://barraider.com

Stream Deck+ Support

Instead of PluginBase, Derive from either KeypadBase (if you don't support dials), EncoderBase (for only dials), KeyAndEncoderBase (for both keys and dials)

Getting Started

Introducing our new wiki packed with usage instructions, examples and more.

Dev Discussions / Support

Discord: Discuss in #developers-chat in Bar Raiders

Downloadable Resources

  • StreamDeck-Tools Template for Visual Studio (2019/2022) - Automatically creates a project with all the files needed to compile a plugin. This is the best way to start a new plugin!
  • Install.bat - Script that quickly uninstalls and reinstalls your plugin on the streamdeck (edit the batch file for more details). Put the install.bat file in your BIN folder (same folder that has Debug/Release sub-folders)
  • EasyPI - Additional library used to easily pass information from the PI (Property Inspector) to your plugin.
  • Profiles Downloadable empty profiles for the XL (32-key), Classic (15-key), Mini (6-key) and Mobile devices at https://barraider.com/profiles

Library Features

  • Encapsulates all the communicating with the Stream Deck, getting a plugin working on the Stream Deck only requires implementing the PluginBase class.
  • Sample plugin now included in this project on Github
  • Built-in integration with NLog. Use Logger.LogMessage() for logging.
  • Auto-populate user settings which were modified by the Property Inspector
  • Access the Global Settings from anywhere in your code
  • Simplified working with filenames from the Stream Deck SDK.
  • PluginActionId attribute let's you easily associate your code to a specific action defined in the manifest.json
  • Large set of helper functions to simplify creating images and sending them to the Stream Deck.

Change Log

Version 6.1

  • Support for new DialDown and DialUp events.
  • Removed support for deprecated DialPress event

Version 6.0

  1. Merged streamdeck-client-csharp package into library to allow better logging of errors
  2. Added support for SD+ SDK
  3. Increased timeout of connection to Stream Deck due to the Stream Deck taking longer than before to reply on load
  4. Added error catching to prevent 3rd party plugin exception to impact communication

Version 3.2 is out!

  • Created new ISDConnection interface which is now implemented by SDConnection and used by PluginAction.
  • GlobalSettingsManager now has a short delay before calling GetGlobalSettings(), to reduce spamming the Stream Deck SDK.
  • Updated dependencies to latest version

Version 3.1 is out!

  • Updated Logger class to include process name and thread id

Version 3.0 is out!

  • Updated file handling in Tools.AutoPopulateSettings and Tools.FilenameFromPayload methods
  • Removed obsolete MD5 functions, use SHA512 functions instead
  • Tools.CenterText function now has optional out textFitsImage value to verify the text does not exceed the image width
  • New Tools.FormatBytes function converts bytes to human-readable value
  • New Graphics.GetFontSizeWhereTextFitsImage function helps locate the best size for a text to fit an image on 1 line
  • Updated dependency packages to latest versions
  • Bug fix where FileNameProperty attribute

Version 2.7 is out!

  • Fully wrapped all Stream Deck events (All part of the SDConneciton class). See "Subscribing to events" section below
  • Added extension methods for multiple classes related to brushes/colors
  • Added additional methods under the Tools class, including AddTextPathToGraphics which can be used to correctly position text on a key image based on the Text Settings in the Property Inspector see "Showing Title based on settings from Property Inspector" section below.
  • Additional error checking
  • Updated dependency packages to latest versions
  • Sample plugin now included in this project on Github

2019-11-17

  • Updated Install.bat (above) to newer version

Version 2.6 is out!

  • Added new MD5 functions in the Tools helper class
  • Optimized SetImage to not resubmit an image that was just posted to the device. Can be overridden with new property in Connection.SetImage() function.

More Repositories

1

obs-websocket-dotnet

C# .NET library to communicate with an obs-websocket server
C#
223
star
2

streamdeck-voicemeeter

VoiceMeeter integration for Stream Deck
C#
158
star
3

streamdeck-advancedlauncher

Smart application launcher for the Elgato Stream Deck
C#
71
star
4

streamdeck-easypi

Javascript library to simplify the communication between the Stream Deck's Property Inspector and the plugin
CSS
51
star
5

streamdeck-wintools

Advanced set of useful plugins for controlling Windows
C#
49
star
6

streamdeck-windowsmover

Allows you to control the position and size of application windows on your Windows PC. Maximize/Minimize windows or change height, width and position. Supports moving applications across multiple screens.
C#
45
star
7

streamdeck-stockticker

Stock Ticker plugin for Stream Deck
C#
38
star
8

streamdeck-obstools

Advanced OBS commands and tools to use on your Elgato Stream Deck
C#
33
star
9

streamdeck-stopwatch

C# Stopwatch implementation for the Elgato Stream Deck device
C#
26
star
10

streamdeck-shadowplay

Stream Deck integration with Nvidia Shadowplay
CSS
23
star
11

streamdeck-textfiletools

A set of tools for manipulating text files through the Elgato Stream Deck. Useful for live stream updates
C#
21
star
12

streamdeck-foldereditor

Move the back button from the top-left in Stream Deck
C#
20
star
13

streamdeck-soundpad

Soundpad integration for the Elgato Stream Deck
C#
20
star
14

streamdeck-chatpager

Stream Deck plugin that flashes when you are being paged in the chat room
C#
18
star
15

streamdeck-streamtimer

Set a timer on your Stream Deck, and have it shown on your Stream too. Will start flashing in a color of your choice when the time is up
C#
18
star
16

streamdeck-battery

Show battery Stats for various wireless devices on the Elgato Stream Deck
C#
14
star
17

streamdeck-profileoverwrite

Copies entire columns of one profile to another profile
C#
13
star
18

streamdeck-worldtime

Shows the time in different cities around the world
JavaScript
11
star
19

streamdeck-streamcounter

A counter plugin you can use to keep score. The count is saved to a text file which you can then show on your stream
CSS
8
star
20

streamdeck-audiometer

Shows the levels of your playback/recording devices on the Stream Deck
CSS
7
star
21

barraider.github.io

JavaScript
5
star
22

streamdeck-delayedtext

Stream Deck plugin that allows you to customize the delay between each keypress
CSS
5
star
23

streamdeck-stopwatchdemo

Stream Deck Tools demo for creating a stopwatch
CSS
3
star
24

barraider-stockticker

Stock Ticker logic library
C#
2
star
25

streamdeck-coronavirus

Coronavirus (COVID-19) live updates on the Elgato StreamDeck
CSS
1
star