diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:04 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:04 -0800 |
commit | 6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715 (patch) | |
tree | 5c16b8149c32cfd34c5ca4c2408303b722f4d492 /include/hardware_legacy/vibrator.h | |
parent | 987df5db6d269300aa1b89af506cf18cf380be51 (diff) | |
download | hardware_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.h | 4 |
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 |