[][src]Trait stdweb::web::event::IGamepadEvent

pub trait IGamepadEvent: IEvent {
    fn gamepad(&self) -> Gamepad { ... }
}

A GamepadEvent is fired on the window object, when a gamepad is connected or disconnected to the system.

(JavaScript docs)

Provided methods

fn gamepad(&self) -> Gamepad

Returns the gamepad associated with this event.

Loading content...

Implementors

impl IGamepadEvent for GamepadConnectedEvent[src]

impl IGamepadEvent for GamepadDisconnectedEvent[src]

Loading content...