All Projects → OpenMacroBoard → Streamdecksharp

OpenMacroBoard / Streamdecksharp

Licence: mit
A simple .NET wrapper for Stream Deck

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Streamdecksharp

Bandcamp Scraper
A scraper for https://bandcamp.com
Stars: ✭ 137 (-32.51%)
Mutual labels:  api, hacktoberfest
Sampleapis
This repository is a playground for API's. These are just a collection of items that you can utilize for learning purposes.
Stars: ✭ 157 (-22.66%)
Mutual labels:  api, hacktoberfest
Smoke
💨 Simple yet powerful file-based mock server with recording abilities
Stars: ✭ 142 (-30.05%)
Mutual labels:  api, hacktoberfest
Water Monitoring System
Water Monitoring System is an IOT based Liquid Level Monitoring system that has mechanisms to keep the user alerted in case of liquid overflow or when tank depletes.
Stars: ✭ 122 (-39.9%)
Mutual labels:  api, hacktoberfest
Go Reddit
Go library for accessing the Reddit API.
Stars: ✭ 175 (-13.79%)
Mutual labels:  api, hacktoberfest
Colore
A powerful C# library for Razer Chroma's SDK
Stars: ✭ 121 (-40.39%)
Mutual labels:  api, hacktoberfest
Brain.js
brain.js is a GPU accelerated library for Neural Networks written in JavaScript.
Stars: ✭ 12,358 (+5987.68%)
Mutual labels:  api, hacktoberfest
Neovim
Vim-fork focused on extensibility and usability
Stars: ✭ 49,389 (+24229.56%)
Mutual labels:  api, hacktoberfest
Rails api base
API boilerplate project for Ruby On Rails 6
Stars: ✭ 172 (-15.27%)
Mutual labels:  api, hacktoberfest
Blinkpy
A Python library for the Blink Camera system
Stars: ✭ 174 (-14.29%)
Mutual labels:  api, hacktoberfest
Docs
API Platform documentation
Stars: ✭ 119 (-41.38%)
Mutual labels:  api, hacktoberfest
Linebot
🤖 SDK for the LINE Messaging API for Node.js
Stars: ✭ 184 (-9.36%)
Mutual labels:  api, hacktoberfest
Python Gitlab
Python wrapper for the GitLab API
Stars: ✭ 1,679 (+727.09%)
Mutual labels:  api, hacktoberfest
Mailcare
[MIRRORING REPOSITORY] See https://gitlab.com/mailcare/mailcare. MailCare is an open source disposable email address services. Accessible via web browser or API to protect your privacy right now.
Stars: ✭ 136 (-33%)
Mutual labels:  api, hacktoberfest
Laravel Api Boilerplate
A Boilerplate Project For Laravel API's (NOT MAINTAINED)
Stars: ✭ 113 (-44.33%)
Mutual labels:  api, hacktoberfest
Core
The server component of API Platform: hypermedia and GraphQL APIs in minutes
Stars: ✭ 2,004 (+887.19%)
Mutual labels:  api, hacktoberfest
Ex gram
Telegram Bot API low level API and framework
Stars: ✭ 103 (-49.26%)
Mutual labels:  api, hacktoberfest
Strapi
🚀 Open source Node.js Headless CMS to easily build customisable APIs
Stars: ✭ 41,786 (+20484.24%)
Mutual labels:  api, hacktoberfest
Whatsapp Web.js
A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
Stars: ✭ 4,103 (+1921.18%)
Mutual labels:  api, hacktoberfest
Demo
Demo app for the API Platform framework
Stars: ✭ 184 (-9.36%)
Mutual labels:  api, hacktoberfest

StreamDeckSharp is a simple (unofficial) .NET interface for the Elgato Stream Deck

license GitHub release Nuget version

Recent Changes

Quickstart (TL;DR)

At the moment only Windows is supported (tested with 10, should also work with 8, 7, Vista and XP)

  1. Add StreamDeckSharp reference (via nuget or download latest release)
  2. Add a using directive for StreamDeckSharp: using StreamDeckSharp;
I want to... Code (C#)
create a device reference var deck = StreamDeck.OpenDevice();
set the brightness deck.SetBrightness(50);
create bitmap for key var bitmap = KeyBitmap.Create.FromFile("icon.png")
set key image deck.SetKeyBitmap(keyId, bitmap)
clear key image deck.ClearKey(keyId)
process key events deck.KeyStateChanged += KeyHandler;

Make sure to dispose the device reference correctly (use using whenever possible)

Examples

If you want to see some examples take a look at the example projects.
Here is a short example called "Austria". Copy the code and start hacking 😉

using System;
using OpenMacroBoard.SDK;
using StreamDeckSharp;

namespace StreamDeckSharp.Examples.Austria
{
    class Program
    {
        static void Main(string[] args)
        {
            //This example is designed for the 5x3 (original) Stream Deck.

            //Create some color we use later to draw the flag of austria
            var red = KeyBitmap.Create.FromRgb(237, 41, 57);
            var white = KeyBitmap.Create.FromRgb(255, 255, 255);
            var rowColors = new KeyBitmap[] { red, white, red };

            //Open the Stream Deck device
            using (var deck = StreamDeck.OpenDevice())
            {
                deck.SetBrightness(100);

                //Send the bitmap informaton to the device
                for (int i = 0; i < deck.Keys.Count; i++)
                    deck.SetKeyBitmap(i, rowColors[i / 5]);

                Console.ReadKey();
            }
        }
    }
}

Here is what the "Rainbow" example looks like after pressing some keys

Rainbow example photo

Play games on a StreamDeck

For example minesweeper (take a look at the example projects if you are interested in that)

You can even play videos on a StreamDeck

Here is a short demo, playing a video on a stream deck device.

Demo video of the example
*The glitches you can see are already fixed.

More about that in the Wiki: Play video on StreamDeck


This project is not related to Elgato Systems GmbH in any way

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].