SDL_MouseDeviceEvent.type

< SDL_EVENT_MOUSE_ADDED or SDL_EVENT_MOUSE_REMOVED

struct SDL_MouseDeviceEvent
SDL_EventType type;

Meta