Struct sdl2::JoystickSubsystem [] [src]

pub struct JoystickSubsystem { /* fields omitted */ }

Methods

impl JoystickSubsystem
[src]

[src]

Retreive the total number of attached joysticks and controllers identified by SDL.

[src]

Attempt to open the joystick at index joystick_index and return it.

[src]

Return the name of the joystick at index joystick_index.

[src]

Get the GUID for the joystick at index joystick_index

[src]

If state is true joystick events are processed, otherwise they're ignored.

[src]

Return true if joystick events are processed.

[src]

Force joystick update when not using the event loop

impl JoystickSubsystem
[src]

[src]

Obtain an SDL context.

Trait Implementations

impl Debug for JoystickSubsystem
[src]

[src]

Formats the value using the given formatter.

impl Clone for JoystickSubsystem
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more