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
{{ message }}
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
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).