Stream Deck Plus dial help #376
Unanswered
AshutoshAvadhani
asked this question in
Q&A
Replies: 1 comment
-
|
StreamController natively supports separate clockwise and counterclockwise dial events. Create a custom action using the from src.backend.DeckManagement.InputIdentifier import Input
from src.backend.PluginManager.ActionBase import ActionBase
import subprocess
class DialHotkey(ActionBase):
def event_callback(self, event, data):
if event == Input.Dial.Events.TURN_CW:
# Clockwise - trigger your hotkey
subprocess.run(['xdotool', 'key', 'ctrl+Right'])
elif event == Input.Dial.Events.TURN_CCW:
# Counterclockwise - trigger your hotkey
subprocess.run(['xdotool', 'key', 'ctrl+Left'])Available Dial Events
Quick Start
See VolumeMixer for a working example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm trying to use the controller on a Stream Deck Plus and need to set up different hotkeys for the dial's clockwise and counterclockwise movements. Does anyone know how to achieve this? Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions