Skip to content

Implement HapticFeedback for web targets#3040

Closed
Oleksandr Karpovich (eymar) wants to merge 2 commits into
jb-mainfrom
ok/web_haptic_feedback
Closed

Implement HapticFeedback for web targets#3040
Oleksandr Karpovich (eymar) wants to merge 2 commits into
jb-mainfrom
ok/web_haptic_feedback

Conversation

@eymar

@eymar Oleksandr Karpovich (eymar) commented May 12, 2026

Copy link
Copy Markdown
Member

Fixes https://youtrack.jetbrains.com/issue/CMP-7656/Web.-Support-Haptic-Feedback

Solution:

  • Since there is no high-level haptic browser API right now, the solution relies on the Vibraion API with hardcoded patterns.
  • In the future, we'll consider migrating to the high-level API once it's implemented - https://github.com/WICG/web-haptics

Supported browsers:

Testing

  • added a simple smoke test
  • This should be tested by QA

Release Notes

Features - Web

  • Support haptic feedback on web targets

@eymar Oleksandr Karpovich (eymar) changed the title Ok/web haptic feedback Implement HapticFeedback for web targets May 12, 2026
Shagen Ogandzhanian (Schahen) added a commit that referenced this pull request May 13, 2026
Introduce support for haptic feedback on web

https://youtrack.jetbrains.com/issue/CMP-7656/Web.-Support-Haptic-Feedback

This PR is heavily based on (and exists as a continuation of the same
branch) of
#3040

 Solution:
- Since there is no high-level haptic browser API right now, the
solution relies on the Vibration API with hardcoded patterns.
- In the future, we'll consider migrating to the high-level API once
it's implemented - https://github.com/WICG/web-haptics
 
 Supported browsers:
- only Chromium-based. see the doc -
https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API

## Testing
- added a simple smoke test 
- This should be tested by QA

## Release Notes
### Features - Web
- Support haptic feedback on web targets

---------

Co-authored-by: Oleksandr.Karpovich <a.n.karpovich@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant