mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 06:10:58 +00:00
Remove rounding on triggers
This commit is contained in:
@@ -297,8 +297,8 @@ public class ControllerHandler {
|
|||||||
R2 = (R2 + 1) / 2;
|
R2 = (R2 + 1) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
leftTrigger = (byte)Math.round(L2 * 0xFF);
|
leftTrigger = (byte)(L2 * 0xFF);
|
||||||
rightTrigger = (byte)Math.round(R2 * 0xFF);
|
rightTrigger = (byte)(R2 * 0xFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hats emulate d-pad events
|
// Hats emulate d-pad events
|
||||||
|
|||||||
Reference in New Issue
Block a user