Struct stick::ControllerManager[][src]

pub struct ControllerManager { /* fields omitted */ }

A Manager for Controllers.

Methods

impl ControllerManager
[src]

Connect to a Joystick, with optional custom button/axis remapping.

Poll Joystick Input. Returns an Option for use in a while let. The tuple within the Some variant is controller id (starting at 0), followed by the input event for that controller.

Auto Trait Implementations