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

Added support for multiple streamdecks & config file flag #10

Merged
merged 13 commits into from
Sep 12, 2021

Conversation

The-Jonsey
Copy link
Member

  • Added -config flag to specify a path to a config file on launch
  • Added support for multiple streamdecks

Copy link
Contributor

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, works for me - just a comment inline.
One other thought is that my old config didn't work (previewed OK but buttons didn't action) - not sure if that is a problem or not, I reset and it worked fine.

var deckInfo api.StreamDeckInfo
for i := range sDInfo {
if sDInfo[i].Serial == dev.Deck.Serial {
deckInfo = sDInfo[i]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other places you exit with error if there is no deck found. Will just going ahead here not cause a crash?

@The-Jonsey The-Jonsey merged commit 48b6c61 into master Sep 12, 2021
The-Jonsey added a commit that referenced this pull request Dec 27, 2021
Added support for multiple streamdecks & config file flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants