My Project
Loading...
Searching...
No Matches
SDL_JoyBallEvent Struct Reference

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

#include <SDL_events.h>

Data Fields

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.*)

Field Documentation

◆ ball

Uint8 ball

The joystick trackball index

◆ timestamp

Uint32 timestamp

In milliseconds, populated using SDL_GetTicks()

◆ type

Uint32 type

◆ which

The joystick instance id

◆ xrel

Sint16 xrel

The relative motion in the X direction

◆ yrel

Sint16 yrel

The relative motion in the Y direction


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