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
The Elgato Streamdeck SDK exposes dial-specific hooks in their version of Action:
/** * Registers a callback function for the onDialRotate event, which fires when a SD+ dial was rotated * @param {function} fn */onDialRotate(fn){}/** * Registers a callback function for the dialPress event, which fires when a SD+ dial was pressed or released * @deprecated Use onDialUp and onDialDown instead */onDialPress(fn){}/** * Registers a callback function for the dialDown event, which fires when a SD+ dial was pressed * @param {function} fn */onDialDown(fn){}/** * Registers a callback function for the dialUp event, which fires when a pressed SD+ dial was released * @param {function} fn */onDialUp(fn){}
I'd love for similar capabilities to be part of this library.
Describe the solution
I could envision an extension of Action (or a type that both Action and the new type extend) that is focused on dial-related action. That way, the library would not break the contract for "normal" actions, while allowing the development of Dial specific actions, which are very underrepresented in the marketplace (for example, I found no way of execution commands from a dial).
Alternatives you considered
Hacking terrible, terrible things.
The text was updated successfully, but these errors were encountered:
There is #44, but it needs some love. I don't have a StreamDeck with a dial, so I can't really test it out and push it to the finish line.
As the issue suggests, I have one, and while I am new to StreamDeck plugins and likely will need a bit of handholding, I could see myself working on landing that PR.
Description
The Elgato Streamdeck SDK exposes dial-specific hooks in their version of Action:
I'd love for similar capabilities to be part of this library.
Describe the solution
I could envision an extension of
Action
(or a type that bothAction
and the new type extend) that is focused on dial-related action. That way, the library would not break the contract for "normal" actions, while allowing the development of Dial specific actions, which are very underrepresented in the marketplace (for example, I found no way of execution commands from a dial).Alternatives you considered
Hacking terrible, terrible things.
The text was updated successfully, but these errors were encountered: