Limited Availability
Gamepad
id: gamepad-haptics
Gamepad haptic feedback
The
gamepad.vibrationActuator property represents a gamepad's haptics hardware, which allows you to control the vibration motors in a gamepad.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
68
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
16.4
Supported
Microsoft Edge
79
Supported
Mobile Browser Engine Support
Chrome Android
68
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.Gamepad.hapticActuators ↗
api.Gamepad.vibrationActuator ↗
api.GamepadHapticActuator ↗
api.GamepadHapticActuator.effects ↗
api.GamepadHapticActuator.effects.type_trigger-rumble ↗
api.GamepadHapticActuator.playEffect ↗
api.GamepadHapticActuator.playEffect.params_leftTrigger_parameter ↗
api.GamepadHapticActuator.playEffect.params_rightTrigger_parameter ↗
api.GamepadHapticActuator.playEffect.type_trigger-rumble ↗
api.GamepadHapticActuator.pulse ↗
api.GamepadHapticActuator.reset ↗