Removed possible double plug event

This commit is contained in:
Travis Nickles 2018-03-21 18:55:01 -05:00
parent 72aa909dbc
commit dba25fab5a

View File

@ -1637,13 +1637,6 @@ namespace DS4Windows
for (int i = 0; i < 4; i++)
LoadProfile(i, false, Program.rootHub); // Refreshes all profiles in case other controllers are using the same profile
/*if (olddinputcheck != cBDinput.Checked)
{
root.BtnStartStop_Clicked(false);
finishDInputChange();
}
*/
if (btnRumbleHeavyTest.Text == Properties.Resources.StopText)
Program.rootHub.setRumble(0, 0, (int)nUDSixaxis.Value - 1);
@ -1664,18 +1657,6 @@ namespace DS4Windows
{
tempDev.setBTPollRate(btCurrentIndex);
}
if (olddinputcheck != cBDinput.Checked)
{
if (cBDinput.Checked)
{
Program.rootHub.UnplugXInputController(device);
}
else
{
Program.rootHub.PlugXInputController(device);
}
}
});
}
}