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

Group assignment for buttons #3074

Open
2 tasks done
dansherer8181 opened this issue Oct 5, 2024 · 1 comment
Open
2 tasks done

Group assignment for buttons #3074

dansherer8181 opened this issue Oct 5, 2024 · 1 comment
Labels
Enhancement New feature or request

Comments

@dansherer8181
Copy link

Is this a feature relevant to companion itself, and not a module?

  • I believe this to be a feature for companion, not a module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the feature

I would like to be able to assign a button or selection of buttons to a group, say Group A,BC, etc and then create an action that sets all buttons within a group to the same step. Thanks.

Usecases

Programming buttons that change an Atem output to a source. Each button could have the source names, ie Cam 1, Cam 2, Cam 3, and then if you group them, another button could cycle through what output you are sending them to when you press them By creating steps that change what output the source goes to.

@dnmeid
Copy link
Member

dnmeid commented Oct 6, 2024

If I understand you right, you are using steps to do what a programmer calls branching, i.e. do a different command depending on a condition.
I can see this quite often since the introduction of steps and it is a totally valid approach. But as you have noticed yourself it can become quite tedious to set a large amount of buttons to a step.
So I like to encourage you to rethink the way of programming, instead of pushing the condition to many buttons it is better if each button is retrieving the condition. That way you will have a much more maintainable and easier to program setup.
In case of Aem it is especially super simple. Just make some buttons to set the output and make them change a user variable. On the source selection buttons use the action Aux/Output: Set source from variables and use that variable as the source.
Thats basically the functionality of a crosspoint matrix.

Even for other usecases where it is more complicated and no actions with variables are provided, I would prefer not to introduce new functionality that promotes the push workflow but if necessary rather do new solutions that promote the retrieve workflow.

@Julusian Julusian added the Enhancement New feature or request label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants