MCPcopy Create free account
hub / github.com/dmitry-s93/MControlCenter / isKeyboardBacklightModeSupport

Method isKeyboardBacklightModeSupport

src/operate.cpp:486–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486bool Operate::isKeyboardBacklightModeSupport() const {
487 // Backlight mode is not available for all keyboard with backlight
488
489 // Keep the same behaviour for devices with brightness at 0xD3
490 if (keyboardBacklightAddress == keyboardBacklightAddress_0xD3)
491 return true;
492
493 // By security, we concider that devices with brightness at 0xF3 don't have backlight mode
494 return false;
495}
496
497bool Operate::isKeyboardBacklightSupport() const {
498 if (msiEcHelper.hasKeyboardBacklightBrightness())

Callers 1

loadConfigsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected