Skip to content

Haptics #29

@lojjic

Description

@lojjic

This is a feature request for a formalized API for haptic feedback on WebXR gamepad inputs, when available. Even very simple haptics can greatly increase immersion and usability in XR applications.

The Gamepad Extensions draft defines a simple interface for pulsing haptic actuators, and that did already have some decent browser support in WebVR. That spec contains other extensions (hand and pose) that seem obsolete, however, so it may be good to respec it in a webxr module.

Or, that may not be ideal in WebXR's more robust model -- e.g looking forward to more complex haptic hardware, haptics on gamepad-less input sources, etc. -- in which case it would need a new API.

Refs:
https://twitter.com/Tojiro/status/1249787874708303873
immersive-web/webvr#23
https://w3c.github.io/gamepad/extensions.html#gamepadhapticactuator-interface

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions