9 lines
316 B
Haxe
9 lines
316 B
Haxe
package js.html;
|
|
|
|
/**
|
|
This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.
|
|
**/
|
|
typedef IGamepadHapticActuator = {
|
|
final type : String;
|
|
function pulse(value:Float, duration:Float):js.lib.Promise<Bool>;
|
|
}; |