We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36346c1 commit f9f1ea4Copy full SHA for f9f1ea4
1 file changed
BetterJoyForCemu/Joycon.cs
@@ -1005,13 +1005,19 @@ private void ExtractIMUValues(byte[] report_buf, int n = 0) {
1005
if (other == null && !isPro) { // single joycon mode; Z do not swap, rest do
1006
if (isLeft) {
1007
acc_g.X = -acc_g.X;
1008
+ acc_g.Y = -acc_g.Y;
1009
gyr_g.X = -gyr_g.X;
1010
} else {
1011
gyr_g.Y = -gyr_g.Y;
1012
}
1013
- float temp = acc_g.X; acc_g.X = acc_g.Y; acc_g.Y = temp;
1014
- temp = gyr_g.X; gyr_g.X = gyr_g.Y; gyr_g.Y = temp;
+ float temp = acc_g.X;
1015
+ acc_g.X = acc_g.Y;
1016
+ acc_g.Y = -temp;
1017
+
1018
+ temp = gyr_g.X;
1019
+ gyr_g.X = gyr_g.Y;
1020
+ gyr_g.Y = temp;
1021
1022
1023
0 commit comments