Of course, the real solution is for Trackmania to fix this, but I didn't see a solution on their and the Steam forums.
How to invert an axis?
Forum rules
How to invert an axis?
Of course, the real solution is for Trackmania to fix this, but I didn't see a solution on their and the Steam forums.
Re: How to invert an axis?
Okay, okay, wasn't that. Um, this is totally non-obvious; sorry--I should fix the documentation! Look in BasicJoystick sketch, and you need to add a couple things. I think (as I said elsewhere I'll be away until Wednesday so if this doesn't work I'll help diagnose when I get back).
At the top, under
[code]
Orbotron_device orb_device;
[/code]
add
[code]
const PROGMEM short Polarity = [1,1,1,1,1,1];
[/code]
And in setup(), at the bottom, add the line
[code]
translator.set_polarity( Polarity );
[/code]
Okay! Now change one of those "1" values to "-1". The problem is I don't know which one. It'll be one of the last three probably.
Um... good luck? Sorry--I'll help more if it doesn't get going by the end. If you need help installing the libraries and the Arduino environment, don't forget you need Arduino 1.0.3 (until I update... I will someday) and follow the instructions at
Good luck!
Re: How to invert an axis?
[code]const short Polarity[] PROGMEM = {1,1,1,1,-1,1};[/code]
I am coming first again! Thank you.
Return to “Spaceware Software”
Who is online
Users browsing this forum: No registered users and 283 guests