Backlight services: Difference between revisions
m add note about float lux output from GetAmbientLightSensorValue |
m describe more properly the struct returned by GetAmbientLightSensorValue |
||
| Line 66: | Line 66: | ||
== GetAmbientLightSensorValue == | == GetAmbientLightSensorValue == | ||
No input. Returns an output float | 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 == | ||