-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LED: implement leds as a source output device
Perform a code cleanup: - remove a method that was used only once just to avoid calling .clone() - remove a lot of duplicated code - use a specific function to resolve configuration matches instead of using device-specific matches for each device type - solve the SourceDevice scope creep that was in need (for no reason) to know specific internal details about sub-types Removing the duplicated code has the additional effect of activating LEDs devices acquisition and activation. This commit adds the ability of defining a fixed RGB color the abblied on device acquisition and never be overwritten.
- Loading branch information
1 parent
2ea44a7
commit ca1968c
Showing
9 changed files
with
430 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.