Struct sdl2_sys::SDL_JoyBallEvent [] [src]

#[repr(C)]
pub struct SDL_JoyBallEvent { pub type_: Uint32, pub timestamp: Uint32, pub which: SDL_JoystickID, pub ball: Uint8, pub padding1: Uint8, pub padding2: Uint8, pub padding3: Uint8, pub xrel: Sint16, pub yrel: Sint16, }

\brief Joystick trackball motion event structure (event.jball.*)

Fields

< ::SDL_JOYBALLMOTION

< The joystick instance id

< The joystick trackball index

< The relative motion in the X direction

< The relative motion in the Y direction

Trait Implementations

impl Debug for SDL_JoyBallEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_JoyBallEvent
[src]

impl Clone for SDL_JoyBallEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more