summaryrefslogtreecommitdiffstats
path: root/include/hardware/lights.h
diff options
context:
space:
mode:
authorEric Olsen <eolsen@android.com>2009-11-04 17:51:56 -0800
committerEric Olsen <eolsen@android.com>2009-11-04 17:51:56 -0800
commita58556d7d8919ca193ec894b3f8553357bbbccc4 (patch)
tree620ac7dc101f3d4258734bd71c400207440bf26f /include/hardware/lights.h
parentc93ee2545a43bc7abdbcc57533e7e3114972d8ec (diff)
downloadhardware_libhardware-a58556d7d8919ca193ec894b3f8553357bbbccc4.zip
hardware_libhardware-a58556d7d8919ca193ec894b3f8553357bbbccc4.tar.gz
hardware_libhardware-a58556d7d8919ca193ec894b3f8553357bbbccc4.tar.bz2
Add support for colored jogball (adds hardware flash mode)
Signed-off-by: Eric Olsen <eolsen@android.com>
Diffstat (limited to 'include/hardware/lights.h')
-rwxr-xr-xinclude/hardware/lights.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/lights.h b/include/hardware/lights.h
index fd89384..e8b2294 100755
--- a/include/hardware/lights.h
+++ b/include/hardware/lights.h
@@ -66,6 +66,12 @@ __BEGIN_DECLS
#define LIGHT_FLASH_TIMED 1
/**
+ * To flash the light using hardware assist, set flashMode to
+ * the hardware mode.
+ */
+#define LIGHT_FLASH_HARDWARE 2
+
+/**
* The parameters that can be set for a given light.
*
* Not all lights must support all parameters. If you