Enum sdl2::controller::ControllerButton[src]

pub enum ControllerButton {
    InvalidButton,
    AButton,
    BButton,
    XButton,
    YButton,
    BackButton,
    GuideButton,
    StartButton,
    LeftStickButton,
    RightStickButton,
    LeftShoulderButton,
    RightShoulderButton,
    DPadUpButton,
    DPadDownButton,
    DPadLeftButton,
    DPadRightButton,
}

Variants

InvalidButton
AButton
BButton
XButton
YButton
BackButton
GuideButton
StartButton
LeftStickButton
RightStickButton
LeftShoulderButton
RightShoulderButton
DPadUpButton
DPadDownButton
DPadLeftButton
DPadRightButton

Trait Implementations

Derived Implementations

impl Eq for ControllerButton

fn eq(&self, __arg_0: &ControllerButton) -> bool

fn ne(&self, __arg_0: &ControllerButton) -> bool