Struct sdl2_sys::SDL_ControllerAxisEvent [] [src]

#[repr(C)]
pub struct SDL_ControllerAxisEvent { pub type_: Uint32, pub timestamp: Uint32, pub which: SDL_JoystickID, pub axis: Uint8, pub padding1: Uint8, pub padding2: Uint8, pub padding3: Uint8, pub value: Sint16, pub padding4: Uint16, }

\brief Game controller axis motion event structure (event.caxis.*)

Fields

< ::SDL_CONTROLLERAXISMOTION

< The joystick instance id

< The controller axis (SDL_GameControllerAxis)

< The axis value (range: -32768 to 32767)

Trait Implementations

impl Debug for SDL_ControllerAxisEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_ControllerAxisEvent
[src]

impl Clone for SDL_ControllerAxisEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more