SDL_MouseDeviceEvent - Mouse device event structure (event.mdevice.*)
Contents
Availability
This struct is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_MouseDeviceEvent(3type)
Header File
Defined in SDL3/SDL_events.h
Name
SDL_MouseDeviceEvent - Mouse device event structure (event.mdevice.*)
Synopsis
#include"SDL3/SDL.h"typedefstructSDL_MouseDeviceEvent{SDL_EventTypetype;/**<SDL_EVENT_MOUSE_ADDEDorSDL_EVENT_MOUSE_REMOVED*/Uint32reserved;Uint64timestamp;/**<Innanoseconds,populatedusingSDL_GetTicksNS()*/SDL_MouseIDwhich;/**<Themouseinstanceid*/}SDL_MouseDeviceEvent;