Changes

Jump to navigation Jump to search
101 bytes added ,  16:26, 1 January 2019
m
describe more properly the struct returned by GetAmbientLightSensorValue
Line 66: Line 66:     
== GetAmbientLightSensorValue ==
 
== GetAmbientLightSensorValue ==
No input. Returns an output float of the current ambient light sensor value (unit: lux). Note: float seems to be preceded by an u32 int (zeroes)
+
No input. Returns an output struct:
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x4 || bSunny. (u32) Equals to 1 if fLux >= 10000.
 +
|-
 +
| 0x4 || 0x4 || fLux. (float) Value in lux from the ambient light sensor.
 +
|}
    
== GetCurrentBrightnessSetting ==
 
== GetCurrentBrightnessSetting ==
7

edits

Navigation menu