mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Removed possible double plug event
This commit is contained in:
parent
72aa909dbc
commit
dba25fab5a
@ -1637,13 +1637,6 @@ namespace DS4Windows
|
|||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
LoadProfile(i, false, Program.rootHub); // Refreshes all profiles in case other controllers are using the same profile
|
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)
|
if (btnRumbleHeavyTest.Text == Properties.Resources.StopText)
|
||||||
Program.rootHub.setRumble(0, 0, (int)nUDSixaxis.Value - 1);
|
Program.rootHub.setRumble(0, 0, (int)nUDSixaxis.Value - 1);
|
||||||
|
|
||||||
@ -1664,18 +1657,6 @@ namespace DS4Windows
|
|||||||
{
|
{
|
||||||
tempDev.setBTPollRate(btCurrentIndex);
|
tempDev.setBTPollRate(btCurrentIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (olddinputcheck != cBDinput.Checked)
|
|
||||||
{
|
|
||||||
if (cBDinput.Checked)
|
|
||||||
{
|
|
||||||
Program.rootHub.UnplugXInputController(device);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Program.rootHub.PlugXInputController(device);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user