Crate elgato_streamdeck

Source
Expand description

Elgato Streamdeck library

Library for interacting with Elgato Stream Decks through hidapi. Heavily based on python-elgato-streamdeck and partially on streamdeck library for rust.

Re-exports§

pub use asynchronous::AsyncStreamDeck;async

Modules§

asynchronousasync
Async Stream Deck Code from this module is using block_in_place, and so they cannot be used in current_thread runtimes
images
Image processing functions
info
Various information about Stream Deck devices
util
Utility functions for working with Stream Deck devices

Structs§

DeviceStateReader
Button reader that keeps state of the Stream Deck and returns events instead of full states
StreamDeck
Interface for a Stream Deck device

Enums§

DeviceStateUpdate
Tells what changed in button states
StreamDeckError
Errors that can occur while working with Stream Decks
StreamDeckInput
Type of input that the device produced

Functions§

list_devices
Returns a list of devices as (Kind, Serial Number) that could be found using HidApi.
new_hidapi
Creates an instance of the HidApi
refresh_device_list
Actually refreshes the device list