libnx  v4.2.2
Enumerations | Functions
lbl.h File Reference

LBL service IPC wrapper. More...

#include "../types.h"
#include "../sf/service.h"

Go to the source code of this file.

Enumerations

enum  LblBacklightSwitchStatus {
  LblBacklightSwitchStatus_Disabled = 0,
  LblBacklightSwitchStatus_Enabled = 1,
  LblBacklightSwitchStatus_Enabling = 2,
  LblBacklightSwitchStatus_Disabling = 3
}
 

Functions

Result lblInitialize (void)
 Initialize lbl.
 
void lblExit (void)
 Exit lbl.
 
ServicelblGetServiceSession (void)
 Gets the Service object for the actual lbl service session.
 
Result lblSaveCurrentSetting (void)
 
Result lblLoadCurrentSetting (void)
 
Result lblSetCurrentBrightnessSetting (float brightness)
 
Result lblGetCurrentBrightnessSetting (float *out_value)
 
Result lblApplyCurrentBrightnessSettingToBacklight (void)
 
Result lblGetBrightnessSettingAppliedToBacklight (float *out_value)
 
Result lblSwitchBacklightOn (u64 fade_time)
 
Result lblSwitchBacklightOff (u64 fade_time)
 
Result lblGetBacklightSwitchStatus (LblBacklightSwitchStatus *out_value)
 
Result lblEnableDimming (void)
 
Result lblDisableDimming (void)
 
Result lblIsDimmingEnabled (bool *out_value)
 
Result lblEnableAutoBrightnessControl (void)
 
Result lblDisableAutoBrightnessControl (void)
 
Result lblIsAutoBrightnessControlEnabled (bool *out_value)
 
Result lblSetAmbientLightSensorValue (float value)
 
Result lblGetAmbientLightSensorValue (bool *over_limit, float *lux)
 
Result lblIsAmbientLightSensorAvailable (bool *out_value)
 
Result lblSetCurrentBrightnessSettingForVrMode (float brightness)
 
Result lblGetCurrentBrightnessSettingForVrMode (float *out_value)
 
Result lblEnableVrMode (void)
 
Result lblDisableVrMode (void)
 
Result lblIsVrModeEnabled (bool *out_value)
 

Detailed Description

LBL service IPC wrapper.

Author
SciresM, exelix

Function Documentation

◆ lblDisableVrMode()

Result lblDisableVrMode ( void  )
Note
Only available on [3.0.0+].
Used internally by appletSetVrModeEnabled.

◆ lblEnableVrMode()

Result lblEnableVrMode ( void  )
Note
Only available on [3.0.0+].
Used internally by appletSetVrModeEnabled.

◆ lblGetAmbientLightSensorValue()

Result lblGetAmbientLightSensorValue ( bool *  over_limit,
float *  lux 
)
Note
Used internally by appletGetAmbientLightSensorValue and appletGetCurrentIlluminanceEx.

◆ lblGetCurrentBrightnessSettingForVrMode()

Result lblGetCurrentBrightnessSettingForVrMode ( float *  out_value)
Note
Only available on [3.0.0+].

◆ lblIsAmbientLightSensorAvailable()

Result lblIsAmbientLightSensorAvailable ( bool *  out_value)
Note
Only available on [3.0.0+].
Used internally by appletIsIlluminanceAvailable.

◆ lblIsVrModeEnabled()

Result lblIsVrModeEnabled ( bool *  out_value)
Note
Only available on [3.0.0+].
Used internally by appletIsVrModeEnabled.

◆ lblSetCurrentBrightnessSetting()

Result lblSetCurrentBrightnessSetting ( float  brightness)
Note
The brightness goes from 0 to 1.0.

◆ lblSetCurrentBrightnessSettingForVrMode()

Result lblSetCurrentBrightnessSettingForVrMode ( float  brightness)
Note
Only available on [3.0.0+].