Just tried out SFML but ran into an annoyance. I have a wireless PS4 controller and even when it is not turned on, I get hiccups in framerate about every 1/4th second and they last ~50 ms. I have narrowed the issue down to the pollEvent after googling and discovering related problems. The weird part is: I'll start up this simple program, turn my controller on, and the program runs smoothly. I'm using Windows 8.1 and SFML 2.1. Card is NVIDIA 570.
Perhaps this a driver issue on my end?
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
// empty but problem persists
}
}