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
type_: Uint32
< ::SDL_JOYBALLMOTION
timestamp: Uint32
which: SDL_JoystickID
< The joystick instance id
ball: Uint8
< The joystick trackball index
padding1: Uint8
padding2: Uint8
padding3: Uint8
xrel: Sint16
< The relative motion in the X direction
yrel: Sint16
< The relative motion in the Y direction