SDL standard library

Dependents:   H261_encoder

Embed: (wiki syntax)

« Back to documentation index

SDL_JoyBallEvent Struct Reference

SDL_JoyBallEvent Struct Reference

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

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_JOYBALLMOTION
SDL_JoystickID which
 The joystick instance id.
Uint8 ball
 The joystick trackball index.
Sint16 xrel
 The relative motion in the X direction.
Sint16 yrel
 The relative motion in the Y direction.

Detailed Description

Joystick trackball motion event structure (event.jball.

*)

Definition at line 283 of file SDL_events.h.


Field Documentation

The joystick trackball index.

Definition at line 288 of file SDL_events.h.

SDL_JOYBALLMOTION

Definition at line 285 of file SDL_events.h.

SDL_JoystickID which

The joystick instance id.

Definition at line 287 of file SDL_events.h.

The relative motion in the X direction.

Definition at line 292 of file SDL_events.h.

The relative motion in the Y direction.

Definition at line 293 of file SDL_events.h.