GamepadEvent::GamepadEvent()
{
- ScriptWrappable::init(this);
}
GamepadEvent::GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad)
: Event(type, canBubble, cancelable)
, m_gamepad(gamepad)
{
- ScriptWrappable::init(this);
}
GamepadEvent::GamepadEvent(const AtomicString& type, const GamepadEventInit& initializer)
: Event(type, initializer)
, m_gamepad(initializer.gamepad)
{
- ScriptWrappable::init(this);
}
GamepadEvent::~GamepadEvent()