Commit c5f2a1ce4ebf1d3c73e0a4689b4e4375294178ed

Ryan C. Gordon 2020-04-20T16:01:36

joystick: On disconnect, recenter all game controller inputs. The joystick layer can't necessarily give us perfect centering, but we know that the game controller level has logical absolute idle positions that have nothing to do with the physical device. So send game controller events to make it look like the device is completely untouched before sending the final removal event.