Giter Club home page Giter Club logo

streamdeck_manager's Introduction

Streamdeck manager POC

Library to manage elgato stream deck in a easy way with several use cases implemented.

This library have been tested with:

  • Stream deck model used have 3x5 buttons with 72x72 pixels of resolution each one.

Installation

To install library dependencies take a loog into docs/installation.md:

  • Fedora: Working.
  • Ubuntu: Working.
  • WSL2: Not USB support yet.

Development

Follow installation instruction and instead install streamdeck_manager:

make env-create                                 # Only first time
source .tox/streamdeck_manager/bin/activate     # All bash session

Samples

In a development bash, use --help to customize parameters. If you install the library a default folder with assets is installed. You may give another asset path to make them work with your custom assets.

If you install the library use the entrypoint running the command in your bash. In development you can run them directly the script given. Both support same options.

Device info

Read the HW info and print in stdout.

python streamdeck_manager/samples/device_info.py

Entrypoint: sdm-info

Basic buttons

Basic panel with buttons and callbacks.

python streamdeck_manager/samples/basic_usage.py

Entrypoint: sdm-basic

More buttons

Another panel with different type of buttons.

python streamdeck_manager/samples/buttons_types.py

Entrypoint: sdm-more-buttons

Background photo

Set up a background image.

python streamdeck_manager/samples/tiled_image.py

Entrypoint: sdm-background

Menu widget

Run a Finite state machine with all buttons to navigate in several pages, the FSM run iterations times (reset with back button).

python streamdeck_manager/samples/menu.py --iterations 2

Entrypoint: sdm-menu

Navigation widget

Run a Finite state machine with all buttons to navigate in a folder path. It shows folders and files with icon if provided in the asset path.

python streamdeck_manager/samples/navigator.py --root-path $HOME

Entrypoint: sdm-navigator

Credits

  • vgonisanz
  • streamdeck library base from https://github.com/abcminiuser/python-elgato-streamdeck

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.