SDL Forum Index
SDL
Simple DirectMedia Layer Forums
Reply to topic
SDL_2 Joystick axis normalization issue
smilesprower


Joined: 21 Oct 2016
Posts: 6
Reply with quote
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

Thanks
View user's profileSend private message
SDL_2 Joystick axis normalization issue
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic