Hello!
I'm trying to get the program to read which button is being pressed but no matter what number I insert the result is always false. This is the code i am using.
sf::Joystick::update();
if (Joystick::isButtonPressed(0, 0))
{
cout << "yes" << endl;
}
else
{
cout << "no" << endl;
}
I am trying to test for the A button on an xbox 1 controller
also for the example program in the Joystick folder it picks up my right toggle stick as the U and V axis but in my personal program it says there is no V axis