SDL_MouseMotionEvent.which

< The mouse instance id in relative mode, SDL_TOUCH_MOUSEID for touch events, or 0

struct SDL_MouseMotionEvent
SDL_MouseID which;

Meta