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

Explanations #3

Open
HughSparks opened this issue May 3, 2019 · 3 comments
Open

Explanations #3

HughSparks opened this issue May 3, 2019 · 3 comments

Comments

@HughSparks
Copy link

Im not the best programmer. I can code basic C++ but im not good in any respect. I want to learn the elgato stream deck api but i run into road blocks. (mostly just being inexperienced) I would be a great project but the code is kinda just, "Here it is. Have Fun". And i know beggers cant be choosers but can we please get some comments in the code so I have the slightest idea of what im reading.

@Timac
Copy link
Contributor

Timac commented Jun 14, 2019

We should indeed had better explanations and comments for the project. In the meantime, you can read a lot of useful information about the plugin architecture in our documentation here: https://developer.elgato.com/documentation/stream-deck/sdk/overview/

This should already help a lot and let you understand the big picture.

@Billmcintyrehome
Copy link

I'm an trying to use the kESDSDKPayloadTitleParameters to set the font color of my title, from my plugin, so far I have been unable to find the correct format to title color using this field. Any assistance would be great appreciated

@Timac
Copy link
Contributor

Timac commented Jul 3, 2019

@Billmcintyrehome The titleParametersDidChange event is sending information from the Stream Deck app to your plugin when the user changes the title or title parameters of the instance of an action. For example when the user manually changes the font color of the title, your plugin will receive such an event with the kESDSDKPayloadTitleParameters parameter. See here: https://developer.elgato.com/documentation/stream-deck/sdk/events-received/#titleparametersdidchange

However this API can't be used by a plugin to dynamically change the font color of a title.
Currently the Stream Deck SDK only lets you specify a default font and title color for the actions. You can specify the default color, font, size, ... in the manifest.json file in your plugin. For more information, please check https://developer.elgato.com/documentation/stream-deck/sdk/manifest/#states

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

No branches or pull requests

3 participants