Skip to content

v 1.0.0

Latest

Choose a tag to compare

@deckameron deckameron released this 26 Feb 17:41
· 2 commits to main since this release

Features

  • Predefined effects — EFFECT_CLICK, EFFECT_TICK, EFFECT_HEAVY_CLICK, EFFECT_DOUBLE_CLICK
  • Semantic convenience methods — impact(), selection(), notification(), doubleClick()
  • Amplitude control — oneShot(ms, amplitude) with precise 1–255 intensity
  • Custom waveforms — arbitrary timing + amplitude patterns, with optional looping
  • View-level feedback — full HapticFeedbackConstants support via performHapticFeedback(), respecting system accessibility settings
  • Capability detection — isSupported() and hasAmplitudeControl() checks
  • Safe API-level guards — constants for API 33/34 features are skipped on older devices with a log warning