summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrianDC <radian.dc@gmail.com>2015-09-15 22:47:30 +0200
committerSteve Kondik <steve@cyngn.com>2015-10-26 17:54:21 -0700
commit5bd542bc68d35ab5745ff9097ecf2239a4157d39 (patch)
treec41391caa631a1243d8930634a5692441d248d68
parent7dd0277085f5d6f0b8bd00d1d37e876cf3ae7f3f (diff)
downloadhardware_libhardware-5bd542bc68d35ab5745ff9097ecf2239a4157d39.zip
hardware_libhardware-5bd542bc68d35ab5745ff9097ecf2239a4157d39.tar.gz
hardware_libhardware-5bd542bc68d35ab5745ff9097ecf2239a4157d39.tar.bz2
LEDs Brightness: Add the libhardware comment indications
Change-Id: I6fe45707c53ff182d103dd03cf79dd453597e9a7 Signed-off-by: AdrianDC <radian.dc@gmail.com>
-rw-r--r--include/hardware/lights.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hardware/lights.h b/include/hardware/lights.h
index 4973829..539a3e1 100644
--- a/include/hardware/lights.h
+++ b/include/hardware/lights.h
@@ -112,6 +112,9 @@ struct light_state_t {
*
* The high byte should be ignored. Callers will set it to 0xff (which
* would correspond to 255 alpha).
+ *
+ * On CM12.1, the high byte value can be implemented to control the LEDs
+ * Brightness from the Lights settings. The value goes from 0x01 to 0xFF.
*/
unsigned int color;