mirror of https://github.com/axmolengine/axmol.git
Merge branch 'iss383' of https://github.com/natural-law/cocos2d-x into natural-law-iss383
This commit is contained in:
commit
19470fda34
|
@ -293,8 +293,7 @@ Boolean CCEGLView::EventHandler(TApplication * pApp, EventType * pEvent)
|
||||||
{
|
{
|
||||||
bHandled = CCKeypadDispatcher::sharedDispatcher()->dispatchKeypadMSG(kTypeBackClicked);
|
bHandled = CCKeypadDispatcher::sharedDispatcher()->dispatchKeypadMSG(kTypeBackClicked);
|
||||||
}
|
}
|
||||||
else if (pEvent->sParam1 == SYS_KEY_SOFTKEY_LEFT_UP ||
|
else if (pEvent->sParam1 == KEY_COMMAND_MAINMENU)
|
||||||
pEvent->sParam1 == SYS_KEY_SOFTKEY_LEFT_LONG)
|
|
||||||
{
|
{
|
||||||
bHandled = CCKeypadDispatcher::sharedDispatcher()->dispatchKeypadMSG(kTypeMenuClicked);
|
bHandled = CCKeypadDispatcher::sharedDispatcher()->dispatchKeypadMSG(kTypeMenuClicked);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue