summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Parker <kornyone@gmail.com>2012-12-31 00:24:21 -0600
committertbalden <illespal@gmail.com>2013-03-31 19:48:00 +0200
commit347e17240adf07ec02d7ae1adab89a18b7e77187 (patch)
treecd942fdcb019698ebe9bc874575b4138b6045b4e
parent689743c7b8786a186bbf1ecc7fe43b3176827499 (diff)
downloadhardware_libhardware-347e17240adf07ec02d7ae1adab89a18b7e77187.zip
hardware_libhardware-347e17240adf07ec02d7ae1adab89a18b7e77187.tar.gz
hardware_libhardware-347e17240adf07ec02d7ae1adab89a18b7e77187.tar.bz2
lights: Adding keypad alt/shift LED light IDs
in conjunction with the alt/shift light patch for frameworks/base: http://review.cyanogenmod.org/#/c/34903/ Change-Id: Ie97a80d398d474950340cba60c48ba5904978ec5
-rw-r--r--include/hardware/lights.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hardware/lights.h b/include/hardware/lights.h
index 2cf5519..de0ba94 100644
--- a/include/hardware/lights.h
+++ b/include/hardware/lights.h
@@ -51,6 +51,14 @@ __BEGIN_DECLS
#define LIGHT_ID_BLUETOOTH "bluetooth"
#define LIGHT_ID_WIFI "wifi"
+/*
+* Additional hardware-specific lights
+*/
+#define LIGHT_ID_CAPS "caps"
+#define LIGHT_ID_FUNC "func"
+#define LIGHT_ID_WIMAX "wimax"
+#define LIGHT_ID_FLASHLIGHT "flashlight"
+
/* ************************************************************************
* Flash modes for the flashMode field of light_state_t.
*/