9 #include "../sf/service.h"
12 LblBacklightSwitchStatus_Disabled = 0,
13 LblBacklightSwitchStatus_Enabled = 1,
14 LblBacklightSwitchStatus_Enabling = 2,
15 LblBacklightSwitchStatus_Disabling = 3,
16 } LblBacklightSwitchStatus;
27 Result lblSaveCurrentSetting(
void);
28 Result lblLoadCurrentSetting(
void);
34 Result lblGetCurrentBrightnessSetting(
float *out_value);
36 Result lblApplyCurrentBrightnessSettingToBacklight(
void);
37 Result lblGetBrightnessSettingAppliedToBacklight(
float *out_value);
39 Result lblSwitchBacklightOn(
u64 fade_time);
40 Result lblSwitchBacklightOff(
u64 fade_time);
41 Result lblGetBacklightSwitchStatus(LblBacklightSwitchStatus *out_value);
43 Result lblEnableDimming(
void);
44 Result lblDisableDimming(
void);
45 Result lblIsDimmingEnabled(
bool *out_value);
47 Result lblEnableAutoBrightnessControl(
void);
48 Result lblDisableAutoBrightnessControl(
void);
49 Result lblIsAutoBrightnessControlEnabled(
bool *out_value);
51 Result lblSetAmbientLightSensorValue(
float value);
Result lblGetAmbientLightSensorValue(bool *over_limit, float *lux)
Result lblSetCurrentBrightnessSettingForVrMode(float brightness)
void lblExit(void)
Exit lbl.
Result lblGetCurrentBrightnessSettingForVrMode(float *out_value)
Result lblDisableVrMode(void)
Result lblEnableVrMode(void)
Result lblIsAmbientLightSensorAvailable(bool *out_value)
Service * lblGetServiceSession(void)
Gets the Service object for the actual lbl service session.
Result lblSetCurrentBrightnessSetting(float brightness)
Result lblIsVrModeEnabled(bool *out_value)
Result lblInitialize(void)
Initialize lbl.
Service object structure.
Definition: service.h:14
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44