I was able to use the buttons in the joystick but i have no idea how to use the axis
This part works
if (mj.buttonDown(0))
{
// Move camera RIGHT
mTranslateVector.x = mMoveScale;
}
However here I have no idea how to use the abs
if (mj.mAxes[0].abs==0)
{
// Move camera RIGHT
mTranslateVector.x = mMoveScale;
}
Can you point me to the right direction
Thanks