Matchstic / Xen-HTML

Unified and simplified HTML rendering
GNU General Public License v2.0
109 stars 16 forks source link

Haptic Feedback on EventListeners #325

Closed paraskcd1315 closed 3 years ago

paraskcd1315 commented 3 years ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like An option to invoke iPhone's taptic engine contained in a function that requires you to add a small Timeout duration or something to keep the Vibrating motors going. Somewhat like how Android implements it in their chromium based browsers, with window.navigator.vibrate(). There's no way to do it through webkit.

Describe alternatives you've considered No alternatives.

Additional context https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate site contains information how the vibrate works in Android devices.

Matchstic commented 3 years ago

Duplicate of https://github.com/Matchstic/libwidgetinfo/issues/47