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
Hi, I am trying to manipulate some click and drag controls (primary color wheels in Davinci Resolve) with buttons and knobs (in my case with a Loupedeck Live).
For that, I try to emulate mouse commands (click on a wheel and drag the mouse).
With the following snippet, I can position the mouse cursor on one of the four color wheels by pressing a button.
Off course, the values depend on the screen, but I don't know of any better way to position the mouse.
The first line makes sure the color wheels are active.
The second command places the mouse cursor on the first color wheel.
Now I am trying to make the click and drag commands with two knobs. One knob for horizontal and another for vertical adjustment/dragging. Unfortunately, I can't get it to work.
I thought, with each step of the knob, the control point of the wheel would be dragged into the corresponding direction.
For example, to accomplish correction to the right, I tried the following (doesn't work).
One big problem with this is, the wheel gets reset with a double click. And that's what's happening with this snippet.
If I turn the knob pretty fast, I can move the mouse, but else this is not working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am trying to manipulate some click and drag controls (primary color wheels in Davinci Resolve) with buttons and knobs (in my case with a Loupedeck Live).
For that, I try to emulate mouse commands (click on a wheel and drag the mouse).
With the following snippet, I can position the mouse cursor on one of the four color wheels by pressing a button.
Off course, the values depend on the screen, but I don't know of any better way to position the mouse.
The first line makes sure the color wheels are active.
The second command places the mouse cursor on the first color wheel.
Now I am trying to make the click and drag commands with two knobs. One knob for horizontal and another for vertical adjustment/dragging. Unfortunately, I can't get it to work.
I thought, with each step of the knob, the control point of the wheel would be dragged into the corresponding direction.
For example, to accomplish correction to the right, I tried the following (doesn't work).
One big problem with this is, the wheel gets reset with a double click. And that's what's happening with this snippet.
If I turn the knob pretty fast, I can move the mouse, but else this is not working.
Any ideas would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions