Hi there.
if(event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Left)
{
}
I use it for navigation in menu, its very easy to handle single key pressures.
But how can i imlement same single pressuers with gamepad?
I can check "event.type == sf::Event::JoystickMoved" but even with small moving of stick there will be many pressures.
Thanks.