My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
SDL_JoyBallEvent Struct Reference

Joystick trackball motion event structure (event.jball.*) More...

#include <SDL_events.h>

Public Attributes

Uint32 type
 
Uint32 timestamp
 
SDL_JoystickID which
 
Uint8 ball
 
Uint8 padding1
 
Uint8 padding2
 
Uint8 padding3
 
Sint16 xrel
 
Sint16 yrel
 

Detailed Description

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

Member Data Documentation

Uint8 SDL_JoyBallEvent::ball

The joystick trackball index

Uint32 SDL_JoyBallEvent::type
SDL_JoystickID SDL_JoyBallEvent::which

The joystick instance id

Sint16 SDL_JoyBallEvent::xrel

The relative motion in the X direction

Sint16 SDL_JoyBallEvent::yrel

The relative motion in the Y direction


The documentation for this struct was generated from the following file: