mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-16 16:09:13 +01:00
Version 1.4.0.61
bug fix for dinput mode making multiple 360 controllers
This commit is contained in:
parent
c5f49cc7f2
commit
9b65de10ad
@ -142,6 +142,7 @@ namespace DS4Control
|
||||
}
|
||||
if (anyUnplugged)
|
||||
System.Threading.Thread.Sleep(XINPUT_UNPLUG_SETTLE_TIME);
|
||||
x360Bus.UnplugAll();
|
||||
x360Bus.Stop();
|
||||
if (showlog)
|
||||
LogDebug(Properties.Resources.StoppingDS4);
|
||||
|
@ -1373,8 +1373,11 @@ namespace DS4Control
|
||||
{
|
||||
Item = m_Xdoc.SelectSingleNode("/ScpControl/DinputOnly");
|
||||
Boolean.TryParse(Item.InnerText, out dinputOnly[device]);
|
||||
if (dinputOnly[device] == true) control.x360Bus.Unplug(device);
|
||||
else control.x360Bus.Plugin(device);
|
||||
if (device < 4)
|
||||
{
|
||||
if (dinputOnly[device] == true) control.x360Bus.Unplug(device);
|
||||
else if (control.DS4Controllers[device].IsAlive()) control.x360Bus.Plugin(device);
|
||||
}
|
||||
}
|
||||
catch { missingSetting = true; }
|
||||
try
|
||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.4.0.6")]
|
||||
[assembly: AssemblyFileVersion("1.4.0.6")]
|
||||
[assembly: AssemblyVersion("1.4.0.61")]
|
||||
[assembly: AssemblyFileVersion("1.4.0.61")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user