mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Fix for DS4 failing to connect for some people
This commit is contained in:
parent
a53869f2a4
commit
09ef2dd8c4
@ -5,7 +5,6 @@ using System.Text;
|
|||||||
using DS4Library;
|
using DS4Library;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Diagnostics;
|
|
||||||
namespace DS4Control
|
namespace DS4Control
|
||||||
{
|
{
|
||||||
public class Control
|
public class Control
|
||||||
@ -210,7 +209,7 @@ namespace DS4Control
|
|||||||
{
|
{
|
||||||
if (Global.getLaunchProgram(ind) != string.Empty)
|
if (Global.getLaunchProgram(ind) != string.Empty)
|
||||||
{
|
{
|
||||||
Process.Start(Global.getLaunchProgram(ind));
|
System.Diagnostics.Process.Start(Global.getLaunchProgram(ind));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void TouchPadOn(int ind, DS4Device device)
|
public void TouchPadOn(int ind, DS4Device device)
|
||||||
@ -224,7 +223,7 @@ namespace DS4Control
|
|||||||
device.Touchpad.TouchUnchanged += tPad.touchUnchanged;
|
device.Touchpad.TouchUnchanged += tPad.touchUnchanged;
|
||||||
//LogDebug("Touchpad mode for " + device.MacAddress + " is now " + tmode.ToString());
|
//LogDebug("Touchpad mode for " + device.MacAddress + " is now " + tmode.ToString());
|
||||||
//Log.LogToTray("Touchpad mode for " + device.MacAddress + " is now " + tmode.ToString());
|
//Log.LogToTray("Touchpad mode for " + device.MacAddress + " is now " + tmode.ToString());
|
||||||
//Global.ControllerStatusChanged(this);
|
Global.ControllerStatusChanged(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void TimeoutConnection(DS4Device d)
|
public void TimeoutConnection(DS4Device d)
|
||||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.4.0.2")]
|
[assembly: AssemblyVersion("1.4.0.22")]
|
||||||
[assembly: AssemblyFileVersion("1.4.0.2")]
|
[assembly: AssemblyFileVersion("1.4.0.22")]
|
||||||
|
Loading…
Reference in New Issue
Block a user