Difference between revisions of "Backlight services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 60: Line 60:
 
| 27 || [3.0.0+] [[#DisableVrMode]]
 
| 27 || [3.0.0+] [[#DisableVrMode]]
 
|-
 
|-
| 28 || [3.0.0+]  
+
| 28 || [3.0.0+] [[#GetVrMode]]
 
|}
 
|}
  
 
==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.
  
 
==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.
 +
 +
==GetVrMode==
 +
No input. Returns an output u8 bool set by the above commands.

Revision as of 04:34, 5 December 2017

lbl

Cmd Name
0
1
2
3
4
5
6 TurnOnBacklight
7 TurnOffBacklight
8 GetBacklightStatus
9
10
11
12
13
14
15
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

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.