vMix Forums
»
General
»
General Discussion
»
PTZ presets with custom control surfaces
Rank: Newbie
Groups: Registered
Joined: 12/8/2023(UTC) Posts: 1 Location: California Thanks: 1 times
|
Hi all,
I've been working on building a custom vMix preset that's tightly integrated with both PTZ cameras and the X-Keys XK68 joystick. I've been able to do everything with shortcuts and activators so far, but am struggling with the PTZ virtual input workflow.
Here's the workflow I'm trying to achieve, using 1 button (SET) to set presets and 12 more (P1-12) to call them:
1. Press the SET button, which should start blinking to indicate it's in 'set' mode. 2. Press one of the preset buttons, e.g P1. This should set the position of the matching virtual input (#1) for the camera currently in preview. 3. Press the P1 button, which should call virtual input 1 for the camera that's in preview.
I'm almost certain I'll need a VB.NET script to do this, but I'm confused about one aspect of vMix scripting: Is there a way to run a script that can be started by one key, and then listen for a different key being pressed? (In this case, the 'set preset' key in step 1 would start the script, and then listen for a keypress on one of the preset keys in step 2.)
I'm new to vMix, so I'd greatly appreciate any guidance you're willing to give.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 561
Thanks: 62 times Was thanked: 131 time(s) in 119 post(s)
|
Originally Posted by: AGP Video Is there a way to run a script that can be started by one key, and then listen for a different key being pressed? (In this case, the 'set preset' key in step 1 would start the script, and then listen for a keypress on one of the preset keys in step 2.)
Welcome AGP Video. Afaik, that's not possible. But you can use eg. a dynamic value to indicate a certain state (like "SET MODE"), retrieve it in a script and execute functions depending on the state.
|
1 user thanked dmwkr for this useful post.
|
|
|
vMix Forums
»
General
»
General Discussion
»
PTZ presets with custom control surfaces
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close