I discovered recently that SDL2 has a gamepad hotplug system; I think supporting it would just be a matter of listening for the right events and calling some SDL functions in response. Might be a good thing to add to the feature list. All my gamepads are Xbox360 Wireless, so I can't reproduce the crashing behavior.