mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-27 09:01:48 +01:00
parent
b38f37b525
commit
bf86b891bb
@ -36,7 +36,6 @@ namespace DS4Windows.Forms
|
|||||||
private Bitmap pnlControllerBgImg;
|
private Bitmap pnlControllerBgImg;
|
||||||
private Bitmap btnLightBgImg;
|
private Bitmap btnLightBgImg;
|
||||||
private Bitmap btnLightBg;
|
private Bitmap btnLightBg;
|
||||||
private OutContType devOutContType = OutContType.X360;
|
|
||||||
private AdvancedColorDialog advColorDialog;
|
private AdvancedColorDialog advColorDialog;
|
||||||
|
|
||||||
int tempInt = 0;
|
int tempInt = 0;
|
||||||
@ -575,7 +574,6 @@ namespace DS4Windows.Forms
|
|||||||
|
|
||||||
LoadProfile(device, false, Program.rootHub);
|
LoadProfile(device, false, Program.rootHub);
|
||||||
|
|
||||||
//devOutContType = Global.OutContType[device];
|
|
||||||
Global.outDevTypeTemp[device] = Global.OutContType[device];
|
Global.outDevTypeTemp[device] = Global.OutContType[device];
|
||||||
|
|
||||||
if (Rainbow[device] == 0)
|
if (Rainbow[device] == 0)
|
||||||
@ -1005,8 +1003,8 @@ namespace DS4Windows.Forms
|
|||||||
if (idxSASteeringWheelEmulationRange >= 0) cBSteeringWheelEmulationRange.SelectedIndex = idxSASteeringWheelEmulationRange;
|
if (idxSASteeringWheelEmulationRange >= 0) cBSteeringWheelEmulationRange.SelectedIndex = idxSASteeringWheelEmulationRange;
|
||||||
|
|
||||||
OutContType tempOutType = Global.OutContType[device];
|
OutContType tempOutType = Global.OutContType[device];
|
||||||
Global.outDevTypeTemp[device] = tempOutType;
|
//Global.outDevTypeTemp[device] = tempOutType;
|
||||||
devOutContType = tempOutType;
|
//devOutContType = tempOutType;
|
||||||
switch(tempOutType)
|
switch(tempOutType)
|
||||||
{
|
{
|
||||||
case OutContType.DS4:
|
case OutContType.DS4:
|
||||||
@ -1192,7 +1190,6 @@ namespace DS4Windows.Forms
|
|||||||
gyroMStickSmoothWeightNUD.Enabled = false;
|
gyroMStickSmoothWeightNUD.Enabled = false;
|
||||||
gyroMStickSmoothWeightNUD.Value = 0.5m;
|
gyroMStickSmoothWeightNUD.Value = 0.5m;
|
||||||
Global.outDevTypeTemp[device] = OutContType.X360;
|
Global.outDevTypeTemp[device] = OutContType.X360;
|
||||||
devOutContType = OutContType.X360;
|
|
||||||
|
|
||||||
Set();
|
Set();
|
||||||
}
|
}
|
||||||
@ -2245,7 +2242,7 @@ namespace DS4Windows.Forms
|
|||||||
else if (tagO is X360Controls)
|
else if (tagO is X360Controls)
|
||||||
{
|
{
|
||||||
string tag;
|
string tag;
|
||||||
tag = KBM360.getX360ControlsByName((X360Controls)tagO, devOutContType);
|
tag = KBM360.getX360ControlsByName((X360Controls)tagO, Global.outDevTypeTemp[device]);
|
||||||
return tag;
|
return tag;
|
||||||
}
|
}
|
||||||
else if (tagO is string)
|
else if (tagO is string)
|
||||||
@ -3642,7 +3639,6 @@ namespace DS4Windows.Forms
|
|||||||
}
|
}
|
||||||
|
|
||||||
Global.outDevTypeTemp[device] = tempType;
|
Global.outDevTypeTemp[device] = tempType;
|
||||||
devOutContType = tempType;
|
|
||||||
UpdateLists();
|
UpdateLists();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user