mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-23 13:41:15 +01:00
Loosen enhanced precision curve
This commit is contained in:
parent
461c7936c2
commit
957f01ee05
@ -839,28 +839,28 @@ namespace DS4Windows
|
||||
|
||||
if (absX <= 0.4)
|
||||
{
|
||||
outputX = 0.54 * absX;
|
||||
outputX = 0.545 * absX;
|
||||
}
|
||||
else if (absX <= 0.75)
|
||||
{
|
||||
outputX = absX - 0.184;
|
||||
outputX = absX - 0.182;
|
||||
}
|
||||
else if (absX > 0.75)
|
||||
{
|
||||
outputX = (absX * 1.736) - 0.736;
|
||||
outputX = (absX * 1.728) - 0.728;
|
||||
}
|
||||
|
||||
if (absY <= 0.4)
|
||||
{
|
||||
outputY = 0.54 * absY;
|
||||
outputY = 0.545 * absY;
|
||||
}
|
||||
else if (absY <= 0.75)
|
||||
{
|
||||
outputY = absY - 0.184;
|
||||
outputY = absY - 0.182;
|
||||
}
|
||||
else if (absY > 0.75)
|
||||
{
|
||||
outputY = (absY * 1.736) - 0.736;
|
||||
outputY = (absY * 1.728) - 0.728;
|
||||
}
|
||||
|
||||
dState.RX = (byte)(outputX * signX * 127.5 + 127.5);
|
||||
|
Loading…
x
Reference in New Issue
Block a user