-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
…ther than home page
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.
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] |
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.
In other places you exit with error if there is no deck found. Will just going ahead here not cause a crash?
Added support for multiple streamdecks & config file flag
-config
flag to specify a path to a config file on launch