Crates.io | streamdeck |
lib.rs | streamdeck |
version | 0.9.0 |
source | src |
created_at | 2019-12-24 02:07:10.164459 |
updated_at | 2024-04-19 23:19:23.614635 |
description | Elgato Stream Deck driver and command line interface |
homepage | |
repository | https://github.com/ryankurte/rust-streamdeck |
max_upload_size | |
id | 191944 |
size | 113,065 |
An hidapi based driver for direct interaction with Elgato StreamDeck devices, this is intended to allow applications to use these devices directly and on arbitrary platforms (without the use of the Elgato SDK), heavily based on the python streamdeck library.
WIP. Pull requests more than welcome!
Features:
Stream Deck Mini
Stream Deck Original (untested)
Stream Deck Original V2
Stream Deck XL
cargo add streamdeck
to add this library to your project (with cargo-edit)cargo install streamdeck
to install the utility onlygit clone git@github.com:ryankurte/rust-streamdeck.git
to clone the repoBuilding requires libusb
and hidapi
packages.
cp 40-streamdeck.rules /etc/udev/rules.d/
to allow user access to streamdeck devices
sudo udevadm control --reload-rules
to reload udev rulesstreamdeck-cli --help
displays available subcommands and options, passing --help
to subcommands (ie. streamdeck set-image --help
) displays options for that subcommand
streamdeck-cli 0.4.1
A CLI for the Elgato StreamDeck
USAGE:
streamdeck-cli [OPTIONS] <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--log-level <level> Enable verbose logging [default: info]
--pid <pid> USB Device Product ID (PID) in hex [env: USB_PID=] [default: 0063]
--serial <serial> USB Device Serial [env: USB_SERIAL=]
--vid <vid> USB Device Vendor ID (VID) in hex [env: USB_VID=] [default: 0fd9]
SUBCOMMANDS:
get-buttons Fetch button states
help Prints this message or the help of the given subcommand(s)
reset Reset the attached device
set-brightness Set device display brightness
set-colour Set button colours
set-image Set button images
version Fetch the device firmware version
This library stands on the shoulders of giants (who had already done all the reversing work)...
You might also like to look at:
Icons from material.io and brandeps.com