Struct sdl2::JoystickSubsystem [−][src]
pub struct JoystickSubsystem { /* fields omitted */ }Implementations
Retrieve the total number of attached joysticks and controllers identified by SDL.
Attempt to open the joystick at index joystick_index and return it.
Return the name of the joystick at index joystick_index.
Get the GUID for the joystick at index joystick_index
If state is true joystick events are processed, otherwise
they’re ignored.
Return true if joystick events are processed.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for JoystickSubsystem
impl !Send for JoystickSubsystem
impl !Sync for JoystickSubsystem
impl Unpin for JoystickSubsystem
impl !UnwindSafe for JoystickSubsystem
Blanket Implementations
Mutably borrows from an owned value. Read more