Struct stick::Map
[−]
[src]
pub struct Map { pub buttons: Vec<Button>, pub throttles: Vec<Throttle>, }
A mapping for a joystick.
Fields
throttles: Vec<Throttle>
Methods
impl Map
[src]
[src]
Return true, if has the button.
fn has_throttle(&self, throttle: Throttle) -> bool
[src]
Return true, if has the throttle.