-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1757637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
Are there any bits of code in this that could get the xKey 124 T-bar to automate this in DaVinci Resolve application:
https://drive.google.com/file/d/1W7xLKw4FsEekt6M_v2bCRBTV4Pu5a21Z/view?usp=sharing
Resolve's wipe function places two images over each other in the exact same spot in the GUI. You can then “switch” between the two images just like you would “switch” between two live video feeds in a control room. Just inside the app. This is also output through video hardware to your broadcast monitor.
When you initiate the wipe function, a visible line appears, splitting the two images in half. You can then click, hold, and drag a mouse or pen tablet, and drag either way to reveal more or less of each image. Effectively cropping the image your are dragging over and revealing more of the image you are dragging from.
If you have BM's $30k Black Magic Advanced panel T-bar, you can use it's T-bar to wipe between the images. I'm assuming BM's DaVinci Resolve uses the same code for their Advanced Panel T-bar, as BM's ATEM uses for the a T-bar on an external controller. So technically Resolve should be "listening" for a T-bar
The physical wiping of the line itself could be a "left mouse button down and hold" but assigned to the T-bar instead of the mouse.
I see the code above. It seems like it will tell a listening app or device that the T-bar has moved, and the position it's in. But is there anything that will then connect it to an action like the wipe in the video above?
Is it somewhere in here:
XKE124TBAR: {
identifier: 'XKE-124 T-bar',
productId: [1275,1276,1277,1278],
columns: 16,
rows: 8,
hasPS: false,
hasTbar: true,
tbarByte: 30,
tbarByteRaw: 31,
banks: 2,
bankSize: 128,
disableKeys: [108,109,110,111]
Do I have to assign something from the PI engineering doc to the "tbarByte" or another line?:
file:///Users/ernestsavage/Downloads/non-PC/xke124Tbarreport.htm
Thanks. Sorry I'm such a noob, I just need this one command that I thought I could just copy and paste code for.
1757637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi!
I'm afraid it's not that simple, unfortunately. But hey, asking questions is the only way from noob to pro! 🙂
Resolve has a (closed) API that can be used to communicate with it, from a quick Google I found this and this unofficial api documentation. I haven't looked if any of them mentions the wipe functionality though.
This library doesn't provide any functionality that can be used directly in an existing application. Instead, if you create an application yourself that supports an xkeys, you can use this library to communicate with the xkeys panel.
1757637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1757637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1757637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There will be code for that very shortly in my project (where you have opened an issue).
1757637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.