Hello!
hello!, i am implementing a camera using opengl, and i want to control it using a box360 wireless controller
i am having an issue with AxisR using a xbox360 wirelles controller
some revelant code:
std::cout
<< "(AxisR) = ("
<< Input.GetJoystickAxis(0, sf::Joy::AxisR)
<< ")"
<< std::endl;
and this is the console output
...
(AxisR) = (0)
(AxisR) = (0)
(AxisR) = (0)
(AxisR) = (0)
that is not touching the controller, but when i sightly touch the R Axis (RT button) and then release, now the output is
...
(AxisR) = (-100)
(AxisR) = (-100)
(AxisR) = (-100)
(AxisR) = (-100)
is like, in first place, values are from [0,100], but when input is updated, jumps to [-100, 100], and this is causing some problems in my application
this is normal, or there's a way to make this work properly?
some information:
i am using sfml on ubuntu, instaled via repositories this way: sudo aptitude install libsfml-dev
if you need more code, i can share a public repo in github
[attachment deleted by admin]