summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/vibrator.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:04 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:04 -0800
commit6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715 (patch)
tree5c16b8149c32cfd34c5ca4c2408303b722f4d492 /include/hardware_legacy/vibrator.h
parent987df5db6d269300aa1b89af506cf18cf380be51 (diff)
downloadhardware_libhardware_legacy-6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715.zip
hardware_libhardware_legacy-6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715.tar.gz
hardware_libhardware_legacy-6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715.tar.bz2
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'include/hardware_legacy/vibrator.h')
-rw-r--r--include/hardware_legacy/vibrator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hardware_legacy/vibrator.h b/include/hardware_legacy/vibrator.h
index 5245aeb..15fd942 100644
--- a/include/hardware_legacy/vibrator.h
+++ b/include/hardware_legacy/vibrator.h
@@ -24,9 +24,11 @@ extern "C" {
/**
* Turn on vibrator
*
+ * @param timeout_ms number of milliseconds to vibrate
+ *
* @return 0 if successful, -1 if error
*/
-int vibrator_on();
+int vibrator_on(int timeout_ms);
/**
* Turn off vibrator