Difference between revisions of "Backlight services"
Jump to navigation
Jump to search
m (AL sensor -> ambient light sensor) |
(→lbl) |
||
Line 6: | Line 6: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
− | | 0 || | + | | 0 || SaveCurrentSetting |
|- | |- | ||
− | | 1 || | + | | 1 || LoadCurrentSetting |
|- | |- | ||
− | | 2 || | + | | 2 || SetCurrentBrightnessSetting |
|- | |- | ||
− | | 3 || | + | | 3 || GetCurrentBrightnessSetting |
|- | |- | ||
− | | 4 || | + | | 4 || ApplyCurrentBrightnessSettingToBacklight |
|- | |- | ||
− | | 5 || | + | | 5 || GetBrightnessSettingAppliedToBacklight |
|- | |- | ||
− | | 6 || | + | | 6 || SwitchBacklightOn |
|- | |- | ||
− | | 7 || | + | | 7 || SwitchBacklightOff |
|- | |- | ||
− | | 8 || | + | | 8 || GetBacklightSwitchStatus |
|- | |- | ||
− | | 9 || | + | | 9 || EnableDimming |
|- | |- | ||
− | | 10 || | + | | 10 || DisableDimming |
|- | |- | ||
− | | 11 || | + | | 11 || IsDimmingEnabled |
|- | |- | ||
− | | 12 || | + | | 12 || EnableAutoBrightnessControl |
|- | |- | ||
− | | 13 || | + | | 13 || DisableAutoBrightnessControl |
|- | |- | ||
− | | 14 || | + | | 14 || IsAutoBrightnessControlEnabled |
|- | |- | ||
− | | 15 || | + | | 15 || SetAmbientLightSensorValue |
|- | |- | ||
− | | 16 || | + | | 16 || GetAmbientLightSensorValue |
|- | |- | ||
− | | 17 || | + | | 17 || SetBrightnessReflectionDelayLevel |
|- | |- | ||
− | | 18 || | + | | 18 || GetBrightnessReflectionDelayLevel |
|- | |- | ||
− | | 19 || | + | | 19 || SetCurrentBrightnessMapping |
|- | |- | ||
− | | 20 || | + | | 20 || GetCurrentBrightnessMapping |
|- | |- | ||
− | | 21 || | + | | 21 || SetCurrentAmbientLightSensorMapping |
|- | |- | ||
− | | 22 || | + | | 22 || GetCurrentAmbientLightSensorMapping |
|- | |- | ||
− | | 23 || [3.0.0+] | + | | 23 || [3.0.0+] IsAmbientLightSensorAvailable |
|- | |- | ||
− | | 24 || [3.0.0+] | + | | 24 || [3.0.0+] SetCurrentBrightnessSettingForVrMode |
|- | |- | ||
− | | 25 || [3.0.0+] | + | | 25 || [3.0.0+] GetCurrentBrightnessSettingForVrMode |
|- | |- | ||
| 26 || [3.0.0+] [[#EnableVrMode]] | | 26 || [3.0.0+] [[#EnableVrMode]] | ||
Line 62: | Line 62: | ||
| 27 || [3.0.0+] [[#DisableVrMode]] | | 27 || [3.0.0+] [[#DisableVrMode]] | ||
|- | |- | ||
− | | 28 || [3.0.0+] [[# | + | | 28 || [3.0.0+] [[#IsVrModeEnabled]] |
|} | |} | ||
− | == | + | == GetCurrentBrightnessSetting == |
No input. Returns an output u32 int of the current backlight level. | No input. Returns an output u32 int of the current backlight level. | ||
− | == | + | == GetBrightnessSettingAppliedToBacklight == |
No input. Returns an output u32 int of the backlight level computed from the ambient light sensor. | No input. Returns an output u32 int of the backlight level computed from the ambient light sensor. | ||
− | == | + | == IsAutoBrightnessControlEnabled == |
No input. Returns an output u8 bool indicating whether auto brightness is enabled. | No input. Returns an output u8 bool indicating whether auto brightness is enabled. | ||
− | ==EnableVrMode== | + | == EnableVrMode == |
No input/output. Used by [[AM_services#SetVrModeEnabled]]. | No input/output. Used by [[AM_services#SetVrModeEnabled]]. | ||
Sets a global state field to 0x1. | Sets a global state field to 0x1. | ||
− | ==DisableVrMode== | + | == DisableVrMode == |
No input/output. Used by [[AM_services#SetVrModeEnabled]]. | No input/output. Used by [[AM_services#SetVrModeEnabled]]. | ||
Sets the global state field used by [[#EnableVrMode]] to 0x0. | Sets the global state field used by [[#EnableVrMode]] to 0x0. | ||
− | == | + | == IsVrModeEnabled == |
No input. Returns an output u8 bool set by the above commands. | No input. Returns an output u8 bool set by the above commands. | ||
[[Category:Services]] | [[Category:Services]] |
Revision as of 17:45, 21 October 2018
lbl
This is "nn::lbl::detail::ILblController".
Cmd | Name |
---|---|
0 | SaveCurrentSetting |
1 | LoadCurrentSetting |
2 | SetCurrentBrightnessSetting |
3 | GetCurrentBrightnessSetting |
4 | ApplyCurrentBrightnessSettingToBacklight |
5 | GetBrightnessSettingAppliedToBacklight |
6 | SwitchBacklightOn |
7 | SwitchBacklightOff |
8 | GetBacklightSwitchStatus |
9 | EnableDimming |
10 | DisableDimming |
11 | IsDimmingEnabled |
12 | EnableAutoBrightnessControl |
13 | DisableAutoBrightnessControl |
14 | IsAutoBrightnessControlEnabled |
15 | SetAmbientLightSensorValue |
16 | GetAmbientLightSensorValue |
17 | SetBrightnessReflectionDelayLevel |
18 | GetBrightnessReflectionDelayLevel |
19 | SetCurrentBrightnessMapping |
20 | GetCurrentBrightnessMapping |
21 | SetCurrentAmbientLightSensorMapping |
22 | GetCurrentAmbientLightSensorMapping |
23 | [3.0.0+] IsAmbientLightSensorAvailable |
24 | [3.0.0+] SetCurrentBrightnessSettingForVrMode |
25 | [3.0.0+] GetCurrentBrightnessSettingForVrMode |
26 | [3.0.0+] #EnableVrMode |
27 | [3.0.0+] #DisableVrMode |
28 | [3.0.0+] #IsVrModeEnabled |
GetCurrentBrightnessSetting
No input. Returns an output u32 int of the current backlight level.
GetBrightnessSettingAppliedToBacklight
No input. Returns an output u32 int of the backlight level computed from the ambient light sensor.
IsAutoBrightnessControlEnabled
No input. Returns an output u8 bool indicating whether auto brightness is enabled.
EnableVrMode
No input/output. Used by AM_services#SetVrModeEnabled.
Sets a global state field to 0x1.
DisableVrMode
No input/output. Used by AM_services#SetVrModeEnabled.
Sets the global state field used by #EnableVrMode to 0x0.
IsVrModeEnabled
No input. Returns an output u8 bool set by the above commands.