summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Olsen <eolsen@android.com>2009-11-04 18:01:27 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-04 18:01:27 -0800
commit97bba480178ce49460bbcb6089ed5a536506426e (patch)
tree56adb21d0ad40a45df6b897f215b505cc83ad5cf
parentcbda89c50b3e5180d58e425fe374e2217ed37457 (diff)
parenta58556d7d8919ca193ec894b3f8553357bbbccc4 (diff)
downloadlibhardware-97bba480178ce49460bbcb6089ed5a536506426e.tar.gz
am a58556d7: Add support for colored jogball (adds hardware flash mode)
Merge commit 'a58556d7d8919ca193ec894b3f8553357bbbccc4' into eclair-mr2 * commit 'a58556d7d8919ca193ec894b3f8553357bbbccc4': Add support for colored jogball (adds hardware flash mode)
-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 fd893845..e8b22943 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