From 975231ef07eaa79dd7f402a331643c13cd7bcd09 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 29 Apr 2005 06:31:34 +0000 Subject: [PATCH] MenuSelect --- stepmania/src/Screen.cpp | 1 + stepmania/src/Screen.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/stepmania/src/Screen.cpp b/stepmania/src/Screen.cpp index c753524bd8..a64c9af2c2 100644 --- a/stepmania/src/Screen.cpp +++ b/stepmania/src/Screen.cpp @@ -146,6 +146,7 @@ void Screen::Input( const DeviceInput& DeviceI, const InputEventType type, const case MENU_BUTTON_RIGHT: this->MenuRight( MenuI.player, type ); return; case MENU_BUTTON_BACK: this->MenuBack( MenuI.player, type ); return; case MENU_BUTTON_START: this->MenuStart( MenuI.player, type ); return; + case MENU_BUTTON_SELECT:this->MenuSelect( MenuI.player, type ); return; case MENU_BUTTON_COIN: this->MenuCoin( MenuI.player, type ); return; } } diff --git a/stepmania/src/Screen.h b/stepmania/src/Screen.h index 38bac17fa6..c70d048dc1 100644 --- a/stepmania/src/Screen.h +++ b/stepmania/src/Screen.h @@ -63,6 +63,7 @@ public: virtual void MenuLeft( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuLeft(pn); } virtual void MenuRight( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuRight(pn); } virtual void MenuStart( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuStart(pn); } + virtual void MenuSelect( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuSelect(pn); } virtual void MenuBack( PlayerNumber pn, const InputEventType type ); virtual void MenuCoin( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuCoin(pn); } @@ -71,6 +72,7 @@ public: virtual void MenuLeft( PlayerNumber pn ) {} virtual void MenuRight( PlayerNumber pn ) {} virtual void MenuStart( PlayerNumber pn ) {} + virtual void MenuSelect( PlayerNumber pn ) {} virtual void MenuBack( PlayerNumber pn ) {} virtual void MenuCoin( PlayerNumber pn ); };