Detecting "Room brightness" setting, from a module?

Hello, is it possible to get, from a module, the Room brightness (and new Theme) values?

Many thanks in advance.

Take a look in your SDK file include/settings.hpp. There are a bunch of variables that reflect interesting global values. Among them is:

extern float rackBrightness;
2 Likes

Thanks, Don! :wink:

1 Like

From Rack/settings.hpp at v2 · VCVRack/Rack · GitHub

float settings::rackBrightness
std::string settings::uiTheme
4 Likes

Thanks! :wink: