The SDL forums have moved to
This is just a read-only archive of the previous forums, to keep old links working.
Simple Directmedia Layer Forums
SDL_2 Joystick axis normalization issue
Joined: 21 Oct 2016
Posted: Tue Jan 31, 2017 9:52 pm
I am trying to normalize the x and y axis and the first analog stick and I am getting crazy results.
Is there something I am missing, I assume I am suppose to to get 0.707, 0.707 for a 45 degree angle.
I am getting values with an exponential after it.
Joypad is Xbox 360
© phpBB Group
Content © SDL