mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Use input field mapping instead of output field mapping for refactor
This commit is contained in:
parent
dd96beafbe
commit
09103dcea8
@ -1368,13 +1368,13 @@ namespace DS4Windows
|
||||
int controlNum = (int)dcs.control;
|
||||
if (xboxControl == X360Controls.LT || xboxControl == X360Controls.RT)
|
||||
{
|
||||
byte axisMapping = getByteMapping2(device, dcs.control, cState, eState, tp, outputfieldMapping);
|
||||
byte axisMapping = getByteMapping2(device, dcs.control, cState, eState, tp, fieldMapping);
|
||||
if (axisMapping != 0)
|
||||
outputfieldMapping.triggers[(int)tempDS4Control] = axisMapping;
|
||||
}
|
||||
else
|
||||
{
|
||||
bool value = getBoolMapping2(device, dcs.control, cState, eState, tp, outputfieldMapping);
|
||||
bool value = getBoolMapping2(device, dcs.control, cState, eState, tp, fieldMapping);
|
||||
outputfieldMapping.buttons[(int)tempDS4Control] = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user