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:
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 commands and options.
``` streamdeck-cli 0.1.0 A CLI for the Elgato StreamDeck
USAGE:
streamdeck-cli [OPTIONS]
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
--log-level
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 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: