chrippa/ds4drv — pull request #26 by Ape (2014-02-26 16:08:49+00:00)
Title: Inputs should be released when hidraw controller disconnects

If a hidraw controller is disconnected while some buttons are pressed, the buttons will stay down. This might not matter so much with joystick input, but it is really annoying with mouse or keyboard bindings. Analog stick mouse will also keep moving even after the controller is disconnected.

All inputs should be released when the controller is disconnected, even if we don't want to remove the uinput devices.