MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / getXY

Method getXY

dependencies/hueplusplus-1.0.0/src/Scene.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59XYBrightness LightState::getXY() const
60{
61 const nlohmann::json& xy = state.at("xy");
62 return XYBrightness {{xy[0].get<float>(), xy[1].get<float>()}, state.at("bri").get<int>() / 255.f};
63}
64
65bool LightState::hasCt() const
66{

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64