JoeHill11 / xbox360wirelesschatpad

Automatically exported from code.google.com/p/xbox360wirelesschatpad
0 stars 0 forks source link

Inverted RY axis #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've noticed that the RY axis is inverted. The LY axis works just fine but for 
some odd reason, the RY axis is inverted. I've looked at the code and I can't 
figure out how to change the RY axis values. Any Help?

Original issue reported on code.google.com by kytechne...@gmail.com on 16 Feb 2014 at 11:31

GoogleCodeExporter commented 9 years ago
If this is with respect to gamepad moed (Mouse Mode disabled) simply change 
Line 672 to the following (add a negative sign):

vJoyInt.SetAxis(-rightY, (uint)controllerNumber, axisMap["RY"]);

That should reverse the axis for ya, lemme know :)

Original comment by ksbarnes@skyag.net on 16 Feb 2014 at 11:36

GoogleCodeExporter commented 9 years ago
This worked Perfectly! Thanks Again!

Original comment by kytechne...@gmail.com on 16 Feb 2014 at 11:59

GoogleCodeExporter commented 9 years ago
Awesome, great news.

Marking as Done, feel free to open a new issue for any additional problems.

Original comment by ksbarnes@skyag.net on 23 Feb 2014 at 10:53