From 5bd542bc68d35ab5745ff9097ecf2239a4157d39 Mon Sep 17 00:00:00 2001 From: AdrianDC Date: Tue, 15 Sep 2015 22:47:30 +0200 Subject: LEDs Brightness: Add the libhardware comment indications Change-Id: I6fe45707c53ff182d103dd03cf79dd453597e9a7 Signed-off-by: AdrianDC --- include/hardware/lights.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.1