Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new ATEMVideoSources: multiViewer1 and input2Direct #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions PyATEMMax/ATEMProtocolEnums.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ class ATEMVideoSources(ATEMConstantList):
auxilary31 = ATEMConstant('auxilary31', 8031)
auxilary32 = ATEMConstant('auxilary32', 8032)

multiViewer1 = ATEMConstant('multiViewer1', 9001)

mE1Prog = ATEMConstant('mE1Prog', 10010)
mE1Prev = ATEMConstant('mE1Prev', 10011)
mE2Prog = ATEMConstant('mE2Prog', 10020)
Expand All @@ -172,6 +174,7 @@ class ATEMVideoSources(ATEMConstantList):
mE4Prev = ATEMConstant('mE4Prev', 10041)

input1Direct = ATEMConstant('input1Direct', 11001)
input2Direct = ATEMConstant('input2Direct', 11002)


class ATEMAudioSources(ATEMConstantList):
Expand Down Expand Up @@ -240,6 +243,8 @@ class ATEMVideoModeFormats(ATEMConstantList):
f2160p24 = ATEMConstant('f2160p24', 15) # 2160p24
f2160p25 = ATEMConstant('f2160p25', 16) # 2160p25
f2160p29_97 = ATEMConstant('f2160p29_97', 17) # 2160p29.97
f1080p30 = ATEMConstant('f1080p30', 26) # 1080p30
f1080p60 = ATEMConstant('f1080p60', 27) # 1080p60


class ATEMExternalPortTypes(ATEMConstantList):
Expand Down
5 changes: 4 additions & 1 deletion docs/docs/data/protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ While some others don't:
* `auxilary1..24`
* `mE1..4Prog`
* `mE1..4Prev`
* `input1Direct`
* `multiViewer1`
* `input1..2Direct`


### switcher.atem.audioSources (ATEMAudioSources)
Expand Down Expand Up @@ -158,8 +159,10 @@ While some others don't:
* `f1080p24`
* `f1080p25`
* `f1080p29_97`
* `f1080p30`
* `f1080p50`
* `f1080p59_94`
* `f1080p60`
* `f2160p23_98`
* `f2160p24`
* `f2160p25`
Expand Down