The GamepadHapticActuator interface of the Gamepad API represents in the controller designed to provide haptic feedback to the (if available), most commonly vibration hardware.
The GamepadHapticActuator interface of the Gamepad API represents in the controller designed to provide haptic feedback to the (if available), most commonly vibration hardware.
(pulse this value duration)
Method.
[Experimental]
The pulse() method of the web.vr.GamepadHapticActuator
interface
the hardware pulse at a certain intensity for a specified duration.
gamepadHapticActuatorInstance.pulse(value, duration).then(function(result) { ... });
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/pulse
Method. [Experimental] The pulse() method of the `web.vr.GamepadHapticActuator` interface the hardware pulse at a certain intensity for a specified duration. `gamepadHapticActuatorInstance.pulse(value, duration).then(function(result) { ... });` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/pulse`
(type this)
Property.
[Read Only] [Experimental]
The type read-only property of the web.vr.GamepadHapticActuator
returns an enum representing the type of the haptic hardware.
var myActuatorType = gamepadHapticActuatorInstance.type;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/type
Property. [Read Only] [Experimental] The type read-only property of the `web.vr.GamepadHapticActuator` returns an enum representing the type of the haptic hardware. `var myActuatorType = gamepadHapticActuatorInstance.type;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/type`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close