Thats why i wrote
check if something has changed since the last frame
For example if you want to check if "Return" got pressed/released:
void checkReturnKey()
{
static bool lastState = false;
bool currentState = sf::Keyboard::isKeyPressed(sf::Keyboard::Return);
if(!lastState && currentState)
//Got pressed
else if(lastState && !currentState)
//Got released
lastState = currentState
}
With this code "Pressed"/"Released" will only get called 1time like with events.
AlexAUT