You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm quite new to the Rust ecosystem, but I wanted to create some small Stream Deck plugin, so I ended up here, but I'm failing to understand how a sample plugin could look like using this library.
Can you show with a simple "hello world" like example project, how this library is ment to be used? Thanks.
The text was updated successfully, but these errors were encountered:
Then you can use the usual async stream stuff to receive events from the Stream Deck software via stream using the Message type and send events to the Stream Deck software via sink using the MessageOut type. If you want to do something simple you can make a loop that reads from sink and only reacts to that, but in my case I needed to initiate actions from the plugin so I needed something more complicated.
For any of the type parameters to StreamDeckSocket if you aren't going to use them you can just define a struct Empty:
Hi there,
I'm quite new to the Rust ecosystem, but I wanted to create some small Stream Deck plugin, so I ended up here, but I'm failing to understand how a sample plugin could look like using this library.
Can you show with a simple "hello world" like example project, how this library is ment to be used? Thanks.
The text was updated successfully, but these errors were encountered: