I haven't connected any joysticks to my laptop but SFML detecting as I've. my main loop :
render_window.clear(sf::Color::White);
for (int i=0; i<8; i++)
std::cout << std::boolalpha << i << " : "
<< sf::Joystick::isConnected(i) << std::endl;
render_window.display();
and the console out put is
Failed to set DirectInput device axis mode: 1
0 : true
1 : true
2 : true
3 : true
4 : true
5 : false
6 : false
7 : false
Failed to set DirectInput device axis mode: 1
0 : true
1 : true
2 : true
3 : true
4 : true
5 : false
6 : false
7 : false
from where those joysticks (1,2,3,4) came, is this something wrong with my laptop or ...?