SDL 3.0
SDL_GamepadDeviceEvent Struct Reference

#include <SDL_events.h>

Data Fields

SDL_EventType type
 
Uint32 reserved
 
Uint64 timestamp
 
SDL_JoystickID which
 

Detailed Description

Gamepad device event structure (event.gdevice.*)

Definition at line 532 of file SDL_events.h.

Field Documentation

◆ reserved

Uint32 SDL_GamepadDeviceEvent::reserved

Definition at line 535 of file SDL_events.h.

◆ timestamp

Uint64 SDL_GamepadDeviceEvent::timestamp

In nanoseconds, populated using SDL_GetTicksNS()

Definition at line 536 of file SDL_events.h.

◆ type

◆ which

SDL_JoystickID SDL_GamepadDeviceEvent::which

The joystick instance id

Definition at line 537 of file SDL_events.h.


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