Stop vibration on stream end

This commit is contained in:
Cameron Gutman
2019-02-16 18:05:08 -08:00
parent 92b71588d0
commit 2f7087d6d3
3 changed files with 15 additions and 0 deletions

View File

@@ -131,6 +131,9 @@ public abstract class AbstractXboxController extends AbstractController {
stopped = true;
// Cancel any rumble effects
rumble((short)0, (short)0);
// Stop the input thread
if (inputThread != null) {
inputThread.interrupt();