mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Differentiate between LED-Device Enable/Disable and Switch On/Off (#960)
* Switch Off devices, when no input source * Realign Enable/SwitchOn, Disable/SwitchOff * Align to updated LedDevice-Flow * Remove debug statements slipped in * Send last color update after enabling again * Fix WLED getProperties API call * Remove unused signals * LedDevice process flow documentation * LedDevice process flow documentation Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
This commit is contained in:
@@ -90,8 +90,27 @@ signals:
|
||||
///
|
||||
int updateLeds(const std::vector<ColorRgb>& ledValues);
|
||||
|
||||
void setEnable(bool enable);
|
||||
void closeLedDevice();
|
||||
///
|
||||
/// @brief Enables the LED-Device.
|
||||
///
|
||||
void enable();
|
||||
|
||||
///
|
||||
/// @brief Disables the LED-Device.
|
||||
///
|
||||
void disable();
|
||||
|
||||
///
|
||||
/// @brief Switch the LEDs on.
|
||||
///
|
||||
void switchOn();
|
||||
|
||||
///
|
||||
/// @brief Switch the LEDs off.
|
||||
///
|
||||
void switchOff();
|
||||
|
||||
void stopLedDevice();
|
||||
|
||||
private slots:
|
||||
///
|
||||
|
Reference in New Issue
Block a user