Expand description

Methods for interacting with the core

Structs

Handle that’s given out to a module to perform actions on the core

Functions

Adds component onto a button, returns success boolean

Adds new array element to a component value

Triggers button action event for modules that are related to components of the button

Triggers button down event on all modules

Triggers button up event on all modules

Checks if slice of features contains a specific feature

Clears button from current screen on specified position

Commits all changes to layout to device config so it can be later saved

Returns a button from current screen on specified position

Gets component values from a component on a button

Gets component values from component on a button, but with paths for easier interaction with values

Gets panel that’s currently on top of the stack

Returns first panel of the stack for saving purposes

Gets current panel stack

Clears the stack, attempts to deserialize provided panel value into an actual panel and then pushes it into the stack

Pops panel from stack

Pushes new panel into the stack

Removes component from a button

Removes element from array in component value

Replaces current screen with specified one

Clears the stack and loads provided panel into the stack

Returns first panel of the stack that’s already been serialized

Sets brightness of the streamdeck to specified (Range from 0 to 100)

Sets button to current screen with specified position

Sets component values based on changes for component on a button

Sets value based on path for component value

Warns if slice of features doesn’t contain a specific feature