Hi, I have a problem with gamepad I want to use with SFML 2.0. Library just can't detect it.
Code used:
if (sf::Joystick::isConnected(0))
{
cout << "Is connected " << endl;
}
else
{
cout << "Not connected" << endl;
}
I only include SFML/Window/Joystick.hpp. Library looks that is working fine (it detects keyboard).
IDE: QT Creator (MinGW compiler), System: Windows 7
also tried on CODE::BLOCKS.
System detects gamepads (checked in control panel), all buttons and levers work fine.
Gamepads tried: esperanza Warrior, Apollo GP 3020.