mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-17 00:16:20 +01:00
Added unchecked region
This commit is contained in:
parent
5b19dc76cd
commit
50109282f4
@ -1512,12 +1512,16 @@ namespace DS4Windows
|
|||||||
if (controlType == DS4StateFieldMapping.ControlType.AxisDir)
|
if (controlType == DS4StateFieldMapping.ControlType.AxisDir)
|
||||||
//if (dcs.control > DS4Controls.None && dcs.control < DS4Controls.L1)
|
//if (dcs.control > DS4Controls.None && dcs.control < DS4Controls.L1)
|
||||||
{
|
{
|
||||||
|
//int current = (int)dcs.control;
|
||||||
|
//outputfieldMapping.axisdirs[current] = fieldMapping.axisdirs[current];
|
||||||
customMapQueue[device].Enqueue(new ControlToXInput(dcs.control, dcs.control));
|
customMapQueue[device].Enqueue(new ControlToXInput(dcs.control, dcs.control));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Queue<ControlToXInput> tempControl = customMapQueue[device];
|
Queue<ControlToXInput> tempControl = customMapQueue[device];
|
||||||
|
unchecked
|
||||||
|
{
|
||||||
for (int i = 0, len = tempControl.Count; i < len; i++)
|
for (int i = 0, len = tempControl.Count; i < len; i++)
|
||||||
//while(tempControl.Any())
|
//while(tempControl.Any())
|
||||||
{
|
{
|
||||||
@ -1554,6 +1558,7 @@ namespace DS4Windows
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
outputfieldMapping.populateState(MappedState);
|
outputfieldMapping.populateState(MappedState);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user