Difference between revisions of "Backlight services"
Jump to navigation
Jump to search
(Findings related with playing with the lbl service. Thanks to CTCaer for coming up with names) |
|||
Line 12: | Line 12: | ||
| 2 || | | 2 || | ||
|- | |- | ||
− | | 3 || | + | | 3 || GetCurrentBacklightLevel |
|- | |- | ||
| 4 || | | 4 || | ||
|- | |- | ||
− | | 5 || | + | | 5 || GetAlsComputedBacklightLevel |
|- | |- | ||
| 6 || TurnOnBacklight | | 6 || TurnOnBacklight | ||
Line 36: | Line 36: | ||
| 14 || | | 14 || | ||
|- | |- | ||
− | | 15 || | + | | 15 || GetAutoBrightnessSetting |
|- | |- | ||
| 16 || ReadRawLightSensor | | 16 || ReadRawLightSensor | ||
Line 64: | Line 64: | ||
| 28 || [3.0.0+] [[#GetVrMode]] | | 28 || [3.0.0+] [[#GetVrMode]] | ||
|} | |} | ||
+ | |||
+ | ==GetCurrentBacklightLevel== | ||
+ | No input. Returns an output u32 int of the current backlight level. | ||
+ | |||
+ | ==GetAlsComputedBacklightLevel== | ||
+ | No input. Returns an output u32 int of the backlight level computed from the AL sensor. | ||
+ | |||
+ | ==GetAutoBrightnessSetting== | ||
+ | No input. Returns an output u8 bool indicating whether auto brightness is enabled. | ||
==EnableVrMode== | ==EnableVrMode== |
Revision as of 08:36, 2 October 2018
lbl
This is "nn::lbl::detail::ILblController".
Cmd | Name |
---|---|
0 | |
1 | |
2 | |
3 | GetCurrentBacklightLevel |
4 | |
5 | GetAlsComputedBacklightLevel |
6 | TurnOnBacklight |
7 | TurnOffBacklight |
8 | GetBacklightStatus |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | GetAutoBrightnessSetting |
16 | ReadRawLightSensor |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | [3.0.0+] |
24 | [3.0.0+] |
25 | [3.0.0+] |
26 | [3.0.0+] #EnableVrMode |
27 | [3.0.0+] #DisableVrMode |
28 | [3.0.0+] #GetVrMode |
GetCurrentBacklightLevel
No input. Returns an output u32 int of the current backlight level.
GetAlsComputedBacklightLevel
No input. Returns an output u32 int of the backlight level computed from the AL sensor.
GetAutoBrightnessSetting
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.
GetVrMode
No input. Returns an output u8 bool set by the above commands.