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; };