Enum gilrs::Axis [] [src]

pub enum Axis {
    LeftStickX,
    LeftStickY,
    LeftZ,
    RightStickX,
    RightStickY,
    RightZ,
    LeftTrigger,
    LeftTrigger2,
    RightTrigger,
    RightTrigger2,
    Unknown,
}

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

Controller layout

Variants

Methods

impl Axis
[src]

Trait Implementations

impl Debug for Axis
[src]

Formats the value using the given formatter.

impl Clone for Axis
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Axis
[src]

impl PartialEq for Axis
[src]

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

This method tests for !=.