SDL 3.0
SDL_MouseDeviceEvent Struct Reference

#include <SDL_events.h>

Data Fields

SDL_EventType type
 
Uint32 reserved
 
Uint64 timestamp
 
SDL_MouseID which
 

Detailed Description

Mouse device event structure (event.mdevice.*)

Definition at line 342 of file SDL_events.h.

Field Documentation

◆ reserved

Uint32 SDL_MouseDeviceEvent::reserved

Definition at line 345 of file SDL_events.h.

◆ timestamp

Uint64 SDL_MouseDeviceEvent::timestamp

In nanoseconds, populated using SDL_GetTicksNS()

Definition at line 346 of file SDL_events.h.

◆ type

SDL_EventType SDL_MouseDeviceEvent::type

◆ which

SDL_MouseID SDL_MouseDeviceEvent::which

The mouse instance id

Definition at line 347 of file SDL_events.h.


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