Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hardware_legacy: allow alternative vibrator implementations | Ricardo Cerqueira | 2012-11-23 | 2 | -0/+12 |
| | | | | | | | | | | | | | | | | | | The native vibrator code in libhardware_legacy assumes the vibrator is always controlled by inputting timers into sysfs (at /sys/class/timed_output/vibrator/enable). This isn't necessarily true, there's an upcoming device which has the vibrator controlled by ioctl() calls. This patch lets the device configuration specify an alternative vibrator implementation throught the variable BOARD_HAS_VIBRATOR_IMPLEMENTATION That variable should point to a sourcefile that implements the vibrator "int sendit(timeout_ms)" function, like this: BOARD_HAS_VIBRATOR_IMPLEMENTATION := ../../device/vendor/model/vibrator.c Change-Id: I78d60480f87ef00a0bab096d7f42e47501def936 | ||||
* | Add an API to find out whether there is a vibrator. | Dianne Hackborn | 2010-11-04 | 1 | -0/+17 |
| | | | | Change-Id: Ic0d967bc72c542fc6a97331c9197114f3f571c08 | ||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 2 | -0/+62 |
| | |||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 2 | -62/+0 |
| | |||||
* | auto import from //branches/cupcake/...@130745 | The Android Open Source Project | 2009-02-10 | 1 | -2/+2 |
| | |||||
* | auto import from //branches/cupcake/...@126645 | The Android Open Source Project | 2009-01-15 | 2 | -0/+62 |