bindings/gamepad_extensions library
Gamepad Extensions
Classes
- GamepadHapticActuator
-
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.Secure context: This feature is available only in
secure contexts (HTTPS), in some or all supporting browsers.
The interface of the Gamepad API represents hardware in the
controller designed to provide haptic feedback to the user (if
available), most commonly vibration hardware.
This interface is accessible through the
Gamepad.hapticActuators
property. - GamepadPose
-
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting
browsers.Experimental: This is an experimental technologyCheck
the Browser compatibility table carefully before using this in
production.
The interface of the Gamepad API represents the pose of a WebVR
controller at a given timestamp (which includes orientation,
position, velocity, and acceleration information.)
This interface is accessible through the
Gamepad.pose
property. - GamepadTouch