I m following the tutorials on 1.6 .The one on opengl. When I try to compile it give me errors on the key events.
this is the line giving the errors:
if ((Event.Type == sf::Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape))
App.Close();
I have read that you use keyboard instead of key but what would the line of code be?
Is there a code sheet showing the differences and how to write them?