SDL_JoyDeviceEvent.which

< The joystick instance id

struct SDL_JoyDeviceEvent
SDL_JoystickID which;

Meta