summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Parker <kornyone@gmail.com>2012-12-31 00:24:21 -0600
committerSteve Kondik <steve@cyngn.com>2015-10-18 15:41:49 -0700
commit2cde1bee5f6c6bcfa5325659cb3a8f5c17555396 (patch)
treecf30236cf2261df062a5c3632c0b1f9996bb277b
parenta6c749f87ff4b40ab620e96be396a05e836162e9 (diff)
downloadhardware_libhardware-2cde1bee5f6c6bcfa5325659cb3a8f5c17555396.zip
hardware_libhardware-2cde1bee5f6c6bcfa5325659cb3a8f5c17555396.tar.gz
hardware_libhardware-2cde1bee5f6c6bcfa5325659cb3a8f5c17555396.tar.bz2
lights: Adding keypad alt/shift LED light IDs
in conjunction with the keyboard light patch for frameworks/base: http://review.cyanogenmod.org/77945 Change-Id: Ie97a80d398d474950340cba60c48ba5904978ec5
-rw-r--r--include/hardware/lights.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/lights.h b/include/hardware/lights.h
index 2cf5519..fccd242 100644
--- a/include/hardware/lights.h
+++ b/include/hardware/lights.h
@@ -51,6 +51,12 @@ __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"
+
/* ************************************************************************
* Flash modes for the flashMode field of light_state_t.
*/