Enum gilrs::Button [] [src]

pub enum Button {
    South,
    East,
    North,
    West,
    C,
    Z,
    LeftTrigger,
    LeftTrigger2,
    RightTrigger,
    RightTrigger2,
    Select,
    Start,
    Mode,
    LeftThumb,
    RightThumb,
    DPadUp,
    DPadDown,
    DPadLeft,
    DPadRight,
    Unknown,
}

Gamepad's elements which state can be represented by bool.

Controller layout

Variants

Methods

impl Button
[src]

Trait Implementations

impl Debug for Button
[src]

Formats the value using the given formatter.

impl Clone for Button
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Button
[src]

impl PartialEq for Button
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Button
[src]

Returns the "default value" for a type. Read more