0 Members and 1 Guest are viewing this topic.
Joystick states are automatically updated by the event loop. If you don't have one, or need to read a joystick state (for example, check which joysticks are connected) before starting your game loop, you'll have to call the sf::Joystick::update() function to make sure that the joystick states are up to date.