Function ggez::input::get_gamepad
[−]
[src]
pub fn get_gamepad(ctx: &Context, instance_id: i32) -> Option<&GameController>
returns the GameController
associated with an instance id.
The instance_id can be obtained from GamepadEvents in the EventHandler