Browse Source

Change walking input to WASD

master
Riyyi 4 years ago
parent
commit
044d108120
  1. 6
      src/inputmanager.cpp

6
src/inputmanager.cpp

@ -15,9 +15,9 @@ sf::Keyboard::Key InputManager::KeyboardConfiguration(Input key) {
// Down, // Down,
if(key == Left) return sf::Keyboard::A; if(key == Left) return sf::Keyboard::A;
if(key == Right) return sf::Keyboard::E; if(key == Right) return sf::Keyboard::D;
if(key == Up) return sf::Keyboard::Comma; if(key == Up) return sf::Keyboard::W;
if(key == Down) return sf::Keyboard::O; if(key == Down) return sf::Keyboard::S;
if(key == LoadMap) return sf::Keyboard::L; if(key == LoadMap) return sf::Keyboard::L;
return sf::Keyboard::Unknown; return sf::Keyboard::Unknown;

Loading…
Cancel
Save