streamdeck-cpu icon indicating copy to clipboard operation
streamdeck-cpu copied to clipboard

Explanations

Open HughSparks opened this issue 5 years ago • 3 comments

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.

HughSparks avatar May 03 '19 06:05 HughSparks

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.

Timac avatar Jun 14 '19 13:06 Timac

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

Billmcintyrehome avatar Jul 03 '19 13:07 Billmcintyrehome

@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

Timac avatar Jul 03 '19 15:07 Timac