[C++] Get stick axis value input

Hello! I’m trying to get the value of the gamepad axis from 1 to -1, but when I try i get big values,for example 16760, any idea?

Thank you

Hey there G_juanjo,

Would you mind sending or attaching your .h and .cpp so I can see how youre trying to get the axis values?

Also, if you wanted to try this out, here’s how I set it up to get the values.

Log the axis values in C++.

the actual output when playing

So obviously this just prints the value and doesn’t store it anywhere. If you wanted to store the value to use it later or somewhere else, create a float variable (float MyAxisValue) and set it equal to AxisValue above the UE_LOG. Let me know if this helps or if anything is unclear/not working!

First of all I am sorry for not responding before.
And thank you very much for the answer, I failed in the ​​print format, i feel stupid haha.
Thank you!