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

Function getDefault

Tactility/Source/settings/DisplaySettings.cpp:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162DisplaySettings getDefault() {
163 return DisplaySettings {
164 .orientation = getDefaultOrientation(),
165 .gammaCurve = 1,
166 .backlightDuty = 200,
167 .backlightTimeoutEnabled = false,
168 .backlightTimeoutMs = 60000,
169 .screensaverType = ScreensaverType::BouncingBalls
170 };
171}
172
173DisplaySettings loadOrGetDefault() {
174 DisplaySettings settings;

Callers 3

loadOrGetDefaultFunction · 0.70
finishCalibrationMethod · 0.50
setupDisplayMethod · 0.50

Calls 1

getDefaultOrientationFunction · 0.85

Tested by

no test coverage detected