Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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.
- Loading branch information