RetroPlayerInput: Implemented joystick handling when compiled using SDL window events