Split Controller::PAUSE_MENU into ESCAPE and START, as they need to act different...
[supertux.git] / src / control / game_controller_manager.cpp
index 4c9ccbf..6680c04 100644 (file)
@@ -75,7 +75,7 @@ GameControllerManager::process_button_event(const SDL_ControllerButtonEvent& ev)
       break;
 
     case SDL_CONTROLLER_BUTTON_START:
-      set_control(Controller::PAUSE_MENU, ev.state);
+      set_control(Controller::START, ev.state);
       break;
 
     case SDL_CONTROLLER_BUTTON_LEFTSTICK: