SDL 3.0
SDL_GamepadDeviceEvent Struct Reference

Gamepad device event structure (event.gdevice.*) More...

#include <SDL_events.h>

Data Fields

Uint32 type
 
Uint64 timestamp
 
SDL_JoystickID which
 

Detailed Description

Gamepad device event structure (event.gdevice.*)

Definition at line 454 of file SDL_events.h.

Field Documentation

◆ timestamp

Uint64 SDL_GamepadDeviceEvent::timestamp

In nanoseconds, populated using SDL_GetTicksNS()

Definition at line 457 of file SDL_events.h.

◆ type

◆ which

SDL_JoystickID SDL_GamepadDeviceEvent::which

The joystick instance id

Definition at line 458 of file SDL_events.h.


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