IVibrator
HAL implementation for vibrators exposed through Linux force feedback devices available on the input event interface. Currently only supports on-off style vibration through the FF_RUMBLE
effect, as provided by the likes of the gpio-vibrator
kernel driver.
Add the following to your Android device tree:
$(call inherit-product, the/path/to/vibrator.mk)
- Support for patterns and haptics-style feedback
- Support for higher HAL versions (1.3)
- Conversion to Rust in Android 12
- Caching and reuse of created effects
- Concurrency (can multiple patterns be started in parallel?)