Fix pause menu on Blackberry.

This commit is contained in:
Sacha committed 2014-10-09 04:58:47 +10:00
1 parent dd235f7f24
commit d3743d0f39
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -279,7 +279,7 @@ void BlackberryMain::runMain() {
break;
case NAVIGATOR_BACK:
case NAVIGATOR_SWIPE_DOWN:
NativeKey(KeyInput(DEVICE_ID_KEYBOARD, NKCODE_ESCAPE, KEY_DOWN));
NativeKey(KeyInput(DEVICE_ID_KEYBOARD, NKCODE_BACK, KEY_DOWN));
break;
case NAVIGATOR_EXIT:
return;
+1 -1
View File
@@ -11,7 +11,7 @@ static const std::map<int, int> KeyMapPadBlackberrytoNative = InitConstMap<int,
(SCREEN_MENU1_GAME_BUTTON, NKCODE_BUTTON_START)
(SCREEN_MENU2_GAME_BUTTON, NKCODE_BUTTON_SELECT)
(SCREEN_MENU3_GAME_BUTTON, NKCODE_MENU)
(SCREEN_MENU4_GAME_BUTTON, NKCODE_ESCAPE)
(SCREEN_MENU4_GAME_BUTTON, NKCODE_BACK)
(SCREEN_L1_GAME_BUTTON, NKCODE_BUTTON_L1)
(SCREEN_L2_GAME_BUTTON, NKCODE_BUTTON_L2)
(SCREEN_L3_GAME_BUTTON, NKCODE_OUYA_BUTTON_L3)