Struct sdl2_sys::SDL_JoyAxisEvent [] [src]

#[repr(C)]
pub struct SDL_JoyAxisEvent { 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 Joystick axis motion event structure (event.jaxis.*)

Fields

< ::SDL_JOYAXISMOTION

< The joystick instance id

< The joystick axis index

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

Trait Implementations

impl Debug for SDL_JoyAxisEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_JoyAxisEvent
[src]

impl Clone for SDL_JoyAxisEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more