Skip to content

SoMainline/android-vibrator-hal

Repository files navigation

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

About

EVDEV-based Android Vibrator HAL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published