Enum primitives::prelude::JoypadButton [−][src]
pub enum JoypadButton {
Fire,
Up,
Right,
Down,
Left,
Primary,
Secondary,
}
Expand description
Representing the buttons on a Joypad for use in the Joypad
virtual controller.
Includes directional buttons and two fire buttons: Primary & Secondary. Fire is used as a shortcut for Primary or Secondary.