mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
parent
64a0c81173
commit
5e6dc361a2
@ -837,6 +837,11 @@ namespace DS4Windows
|
|||||||
tempL2Output = 0.0;
|
tempL2Output = 0.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
double current = Global.Clamp(0, dState.L2, maxValue);
|
||||||
|
tempL2Output = current / maxValue;
|
||||||
|
}
|
||||||
|
|
||||||
if (l2MaxOutput != 100.0)
|
if (l2MaxOutput != 100.0)
|
||||||
{
|
{
|
||||||
@ -887,6 +892,11 @@ namespace DS4Windows
|
|||||||
tempR2Output = 0.0;
|
tempR2Output = 0.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
double current = Global.Clamp(0, dState.R2, maxValue);
|
||||||
|
tempR2Output = current / maxValue;
|
||||||
|
}
|
||||||
|
|
||||||
if (r2MaxOutput != 100.0)
|
if (r2MaxOutput != 100.0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user