Haptics: Tactile Feedback for the Mobile Web

(haptics.lochie.me)

9 points | by andresquez 13 hours ago ago

5 comments

  • zipping1549 3 hours ago ago

    Doesn't work at all on Android Firefox(Fennec).

  • andresquez 13 hours ago ago

    Hi :), found this library for adding haptic feedback to web UI elements.

    Seems interesting for mobile PWAs where subtle vibration feedback can improve button interactions.

    Has anyone seen good production examples of haptics used on the web? Curious if there are other libraries people prefer for this.

  • phillipseamore 13 hours ago ago

    Strangely found it to work in mobile Safari, it uses a workaround by creating checkboxes that have native haptics when toggled and not any actual APIs.

    • andresquez 12 hours ago ago

      yes, pretty hacky. I bet it was an AI discovery, reading through lots of documentation or files.

      • latexr 11 hours ago ago

        Believe it or not, humans can be quite imaginative and creative and had been coming up with these types of hacks way before current LLMs.