Enum gilrs::MappingSource [] [src]

pub enum MappingSource {
    SdlMappings,
    Driver,
    None,
}

Source of gamepad mappings.

Variants

Gamepad uses SDL mappings.

Gamepad does not use any mappings but driver should provide unified controller layout.

Gamepad does not use any mappings and most gamepad events will probably be Button::Unknown or Axis::Unknown

Trait Implementations

impl Copy for MappingSource
[src]

impl Clone for MappingSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MappingSource
[src]

Formats the value using the given formatter.

impl PartialEq for MappingSource
[src]

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

This method tests for !=.