Enum gilrs::MappingSource [−][src]
pub enum MappingSource {
SdlMappings,
Driver,
None,
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for MappingSource
impl Send for MappingSource
impl Sync for MappingSource
impl Unpin for MappingSource
impl UnwindSafe for MappingSource
Blanket Implementations
Mutably borrows from an owned value. Read more