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

Method getLEDIndication

dependencies/hueplusplus-1.0.0/src/Sensor.cpp:188–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 return state.getValue().at("config").count("ledindication") != 0;
187}
188bool Sensor::getLEDIndication() const
189{
190 return state.getValue().at("config").at("ledindication").get<bool>();
191}
192void Sensor::setLEDIndication(bool on)
193{
194 sendPutRequest("/config", nlohmann::json {{"ledindication", on}}, CURRENT_FILE_INFO);

Callers 1

TEST_FFunction · 0.80

Calls 1

getValueMethod · 0.80

Tested by 1

TEST_FFunction · 0.64