mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 19:14:20 +01:00
Loosened enhanced precision curves more
This commit is contained in:
parent
f643c95463
commit
f686b9711e
@ -779,28 +779,28 @@ namespace DS4Windows
|
||||
|
||||
if (absX <= 0.4)
|
||||
{
|
||||
outputX = 0.43 * absX;
|
||||
outputX = 0.45 * absX;
|
||||
}
|
||||
else if (absX <= 0.75)
|
||||
{
|
||||
outputX = absX - 0.228;
|
||||
outputX = absX - 0.22;
|
||||
}
|
||||
else if (absX > 0.75)
|
||||
{
|
||||
outputX = (absX * 1.912) - 0.912;
|
||||
outputX = (absX * 1.88) - 0.88;
|
||||
}
|
||||
|
||||
if (absY <= 0.4)
|
||||
{
|
||||
outputY = 0.43 * absY;
|
||||
outputY = 0.45 * absY;
|
||||
}
|
||||
else if (absY <= 0.75)
|
||||
{
|
||||
outputY = absY - 0.228;
|
||||
outputY = absY - 0.22;
|
||||
}
|
||||
else if (absY > 0.75)
|
||||
{
|
||||
outputY = (absY * 1.912) - 0.912;
|
||||
outputY = (absY * 1.88) - 0.88;
|
||||
}
|
||||
|
||||
dState.LX = (byte)(outputX * signX * 127.5 + 127.5);
|
||||
@ -839,28 +839,28 @@ namespace DS4Windows
|
||||
|
||||
if (absX <= 0.4)
|
||||
{
|
||||
outputX = 0.43 * absX;
|
||||
outputX = 0.45 * absX;
|
||||
}
|
||||
else if (absX <= 0.75)
|
||||
{
|
||||
outputX = absX - 0.228;
|
||||
outputX = absX - 0.22;
|
||||
}
|
||||
else if (absX > 0.75)
|
||||
{
|
||||
outputX = (absX * 1.912) - 0.912;
|
||||
outputX = (absX * 1.88) - 0.88;
|
||||
}
|
||||
|
||||
if (absY <= 0.4)
|
||||
{
|
||||
outputY = 0.43 * absY;
|
||||
outputY = 0.45 * absY;
|
||||
}
|
||||
else if (absY <= 0.75)
|
||||
{
|
||||
outputY = absY - 0.228;
|
||||
outputY = absY - 0.22;
|
||||
}
|
||||
else if (absY > 0.75)
|
||||
{
|
||||
outputY = (absY * 1.912) - 0.912;
|
||||
outputY = (absY * 1.88) - 0.88;
|
||||
}
|
||||
|
||||
dState.RX = (byte)(outputX * signX * 127.5 + 127.5);
|
||||
|
Loading…
Reference in New Issue
Block a user