mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-13 16:49:08 +01:00
parent
2b25e55611
commit
3074bc1b6e
@ -159,6 +159,7 @@ namespace DS4WinWPF
|
|||||||
}
|
}
|
||||||
|
|
||||||
SetUICulture(DS4Windows.Global.UseLang);
|
SetUICulture(DS4Windows.Global.UseLang);
|
||||||
|
DS4Windows.Global.LoadLinkedProfiles();
|
||||||
DS4Forms.MainWindow window = new DS4Forms.MainWindow(parser);
|
DS4Forms.MainWindow window = new DS4Forms.MainWindow(parser);
|
||||||
MainWindow = window;
|
MainWindow = window;
|
||||||
window.Show();
|
window.Show();
|
||||||
|
@ -490,10 +490,12 @@ namespace DS4Windows
|
|||||||
if (device.isValidSerial() && containsLinkedProfile(device.getMacAddress()))
|
if (device.isValidSerial() && containsLinkedProfile(device.getMacAddress()))
|
||||||
{
|
{
|
||||||
ProfilePath[i] = getLinkedProfile(device.getMacAddress());
|
ProfilePath[i] = getLinkedProfile(device.getMacAddress());
|
||||||
|
Global.linkedProfileCheck[i] = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ProfilePath[i] = OlderProfilePath[i];
|
ProfilePath[i] = OlderProfilePath[i];
|
||||||
|
Global.linkedProfileCheck[i] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadProfile(i, false, this, false, false);
|
LoadProfile(i, false, this, false, false);
|
||||||
@ -764,10 +766,12 @@ namespace DS4Windows
|
|||||||
if (device.isValidSerial() && containsLinkedProfile(device.getMacAddress()))
|
if (device.isValidSerial() && containsLinkedProfile(device.getMacAddress()))
|
||||||
{
|
{
|
||||||
ProfilePath[Index] = getLinkedProfile(device.getMacAddress());
|
ProfilePath[Index] = getLinkedProfile(device.getMacAddress());
|
||||||
|
Global.linkedProfileCheck[Index] = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ProfilePath[Index] = OlderProfilePath[Index];
|
ProfilePath[Index] = OlderProfilePath[Index];
|
||||||
|
Global.linkedProfileCheck[Index] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadProfile(Index, false, this, false, false);
|
LoadProfile(Index, false, this, false, false);
|
||||||
@ -1280,6 +1284,7 @@ namespace DS4Windows
|
|||||||
inWarnMonitor[ind] = false;
|
inWarnMonitor[ind] = false;
|
||||||
useDInputOnly[ind] = true;
|
useDInputOnly[ind] = true;
|
||||||
Global.activeOutDevType[ind] = OutContType.None;
|
Global.activeOutDevType[ind] = OutContType.None;
|
||||||
|
Global.linkedProfileCheck[ind] = false;
|
||||||
/*uiContext?.Post(new SendOrPostCallback((state) =>
|
/*uiContext?.Post(new SendOrPostCallback((state) =>
|
||||||
{
|
{
|
||||||
OnControllerRemoved(this, ind);
|
OnControllerRemoved(this, ind);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user