Module streamduck_core::core::methods
source · [−]Expand description
Methods for interacting with the core
Structs
Handle that’s given out to a module to perform actions on the core
Functions
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
Returns a button from current screen on specified position
Gets panel that’s currently on top of the stack
Gets current panel stack
Clears the stack and loads provided panel into the 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
Replaces current screen with specified one
Returns first panel of the stack for saving purposes
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
Warns if slice of features doesn’t contain a specific feature