MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getDefault

Function getDefault

Tactility/Source/settings/KeyboardSettings.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34KeyboardSettings getDefault() {
35 return KeyboardSettings{
36 .backlightEnabled = true,
37 .backlightBrightness = 127,
38 .backlightTimeoutEnabled = true,
39 .backlightTimeoutMs = 60000 // 60 seconds default
40 };
41}
42
43KeyboardSettings loadOrGetDefault() {
44 KeyboardSettings s;

Callers 1

loadOrGetDefaultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected