SFML community forums
Help => Window => Topic started by: Debonair on July 16, 2015, 07:18:51 pm
-
Did some search about this, found a solution, which is to use this: window.setKeyRepeatEnabled(false);
But it does not seem to be working, the event is still firing continuously. Is this no longer functional? My SFML version is 2.2.
-
Which OS?
-
But it does not seem to be working, the event is still firing continuously.
If you are using sf::Keyboard::isKeyPressed(), it will always be continuous. window.setKeyRepeatEnabled() only effects events.
-
Which OS?
Windows 7.
If you are using sf::Keyboard::isKeyPressed(), it will always be continuous. window.setKeyRepeatEnabled() only effects events.
Oh I see. Yeah, I used that. Thanks for the help.