|
SDL 3.0
|
#include <SDL_events.h>
Data Fields | |
| SDL_EventType | type |
| Uint32 | reserved |
| Uint64 | timestamp |
| SDL_MouseID | which |
Mouse device event structure (event.mdevice.*)
Definition at line 447 of file SDL_events.h.
| Uint32 SDL_MouseDeviceEvent::reserved |
Definition at line 450 of file SDL_events.h.
| Uint64 SDL_MouseDeviceEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 451 of file SDL_events.h.
| SDL_EventType SDL_MouseDeviceEvent::type |
SDL_EVENT_MOUSE_ADDED or SDL_EVENT_MOUSE_REMOVED
Definition at line 449 of file SDL_events.h.
| SDL_MouseID SDL_MouseDeviceEvent::which |
The mouse instance id
Definition at line 452 of file SDL_events.h.