in this switch statement it does not matter whitch key i press it says f was pressed what am i doing wrong?
case sf::Event::KeyPressed:
switch (Event.KeyPressed)
{
case sf::Keyboard::Back:
std::cout << "Backspace was pressed." << std:: endl;
break;
case sf::Keyboard::F:
std::cout << "f was pressed." << std:: endl;
break;
default:
break;
}