SDL_MouseButtonEvent.which

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

struct SDL_MouseButtonEvent
SDL_MouseID which;

Meta