Merge branch 'iss383' of https://github.com/natural-law/cocos2d-x into natural-law-iss383

This commit is contained in:
minggo 2011-03-09 14:55:45 +08:00
commit 19470fda34
1 changed files with 1 additions and 2 deletions

View File

@ -293,8 +293,7 @@ Boolean CCEGLView::EventHandler(TApplication * pApp, EventType * pEvent)
{
bHandled = CCKeypadDispatcher::sharedDispatcher()->dispatchKeypadMSG(kTypeBackClicked);
}
else if (pEvent->sParam1 == SYS_KEY_SOFTKEY_LEFT_UP ||
pEvent->sParam1 == SYS_KEY_SOFTKEY_LEFT_LONG)
else if (pEvent->sParam1 == KEY_COMMAND_MAINMENU)
{
bHandled = CCKeypadDispatcher::sharedDispatcher()->dispatchKeypadMSG(kTypeMenuClicked);
}