mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Adding "random" to the acceptable inputs for the --color switch to align with GUI
* Allows for the selection of color_mode = MODE_COLORS_RANDOM from the CLI for devices that support it * For all other implementations will return a random colour from the `human_colors` struct * To avoid filtering in the profile manager and to ensure that color_mode is set to MODE_COLORS_RANDOM correctly for HW that has the mode flags MODE_FLAG_HAS_RANDOM_COLOR | MODE_FLAG_HAS_PER_LED_COLOR The values for speed_min, speed_max, colors_min and colors_max NEED to be initialised to allow for a saved profile to load correctly in `ProfileManager::LoadDeviceFromListWithOptions` Commit amended by Adam Honse <calcprogrammer1@gmail.com> to remove Aura SMBus change, will add as its own commit.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f