Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 912 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 912 Bytes

EVDEV-based Android Vibrator HAL

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.

Usage

Add the following to your Android device tree:

$(call inherit-product, the/path/to/vibrator.mk)

Planned improvements

  • 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?)