SDL 3.0
SDL_JoyDeviceEvent Struct Reference

Joystick device event structure (event.jdevice.*) More...

#include <SDL_events.h>

Data Fields

Uint32 type
 
Uint64 timestamp
 
SDL_JoystickID which
 

Detailed Description

Joystick device event structure (event.jdevice.*)

Definition at line 391 of file SDL_events.h.

Field Documentation

◆ timestamp

Uint64 SDL_JoyDeviceEvent::timestamp

In nanoseconds, populated using SDL_GetTicksNS()

Definition at line 394 of file SDL_events.h.

◆ type

Uint32 SDL_JoyDeviceEvent::type

◆ which

SDL_JoystickID SDL_JoyDeviceEvent::which

The joystick instance id

Definition at line 395 of file SDL_events.h.


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