Enum gilrs::MappingSource
[−]
[src]
pub enum MappingSource { SdlMappings, Driver, None, }
Source of gamepad mappings.
Variants
SdlMappings
Gamepad uses SDL mappings.
Driver
Gamepad does not use any mappings but driver should provide unified controller layout.
None
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]
fn clone(&self) -> MappingSource
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more