Closed cgutman closed 3 months ago
We need to update IDs before invoking the filters and watches, because Event3to2() calls GetIndexFromJoystickInstance() which needs to be able to find the new ID. Without this, the SDL_JOYDEVADDED event will have the which field set to -1.
Event3to2()
GetIndexFromJoystickInstance()
SDL_JOYDEVADDED
which
We need to update IDs before invoking the filters and watches, because
Event3to2()
callsGetIndexFromJoystickInstance()
which needs to be able to find the new ID. Without this, theSDL_JOYDEVADDED
event will have thewhich
field set to -1.