Renamed a few key codes

Deprecated BackSlash, BackSpace, SemiColon, Dash and
introduced Backslash, Backspace, Semicolon, Hyphen in a
retrocompatible way.
This commit is contained in:
Marco Antognini 2018-03-21 07:16:13 +01:00 committed by Lukas Dürrenberger
parent 5c20c67469
commit b0f3611ab9
8 changed files with 47 additions and 39 deletions

View file

@ -175,7 +175,7 @@ int main()
}
// Return key: toggle mipmapping
if ((event.type == sf::Event::KeyPressed) && (event.key.code == sf::Keyboard::Return))
if ((event.type == sf::Event::KeyPressed) && (event.key.code == sf::Keyboard::Enter))
{
if (mipmapEnabled)
{