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

Method getLinkButton

dependencies/hueplusplus-1.0.0/src/BridgeConfig.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 cache.getCommandAPI().DELETERequest("/config/whitelist/" + userKey, nlohmann::json::object());
63}
64bool BridgeConfig::getLinkButton() const
65{
66 return cache.getValue().at("linkbutton").get<bool>();
67}
68void BridgeConfig::pressLinkButton()
69{
70 cache.getCommandAPI().PUTRequest("/config", {{"linkbutton", true}}, CURRENT_FILE_INFO);

Callers 1

TESTFunction · 0.80

Calls 1

getValueMethod · 0.80

Tested by 1

TESTFunction · 0.64