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.
The pulse() method of the web.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. The pulse() method of the `web.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`
(set-type! this val)
Property.
The type read-only property of the web.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. The type read-only property of the `web.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`
(type this)
Property.
The type read-only property of the web.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. The type read-only property of the `web.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