Fixed service change after changing xinput port range

Related to issue #143.
This commit is contained in:
Travis Nickles 2017-11-09 02:27:05 -06:00
parent 6f0cad6253
commit d16cd15f37

View File

@ -2252,8 +2252,8 @@ namespace DS4Windows
oldxiport = (int)Math.Round(nUDXIPorts.Value, 0); oldxiport = (int)Math.Round(nUDXIPorts.Value, 0);
FirstXinputPort = oldxiport; FirstXinputPort = oldxiport;
Program.rootHub.x360Bus.FirstController = oldxiport; Program.rootHub.x360Bus.FirstController = oldxiport;
btnStartStop_Click(sender, e); btnStartStop_Clicked(false);
btnStartStop_Click(sender, e); finishHideDS4Check();
} }
} }