mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
Friendship Ended With LibPNG
This commit is contained in:
committed by
iProgramInCpp
parent
3776dc26f5
commit
4ca50c0fd8
@@ -118,10 +118,11 @@ static void handle_events()
|
||||
case SDL_KEYDOWN:
|
||||
case SDL_KEYUP:
|
||||
{
|
||||
// TODO: Shouldn't we be handling this in Keyboard?
|
||||
|
||||
// We really should. We didn't add the f2 key anywhere -iProgramInCpp
|
||||
/*
|
||||
// This really should be handled somewhere else.
|
||||
// Unforunately, there is no global keyboard handler.
|
||||
// Keyboard events are either handled in Screen::keyboardEvent
|
||||
// when a Screen is visible, or in Minecraft::tickInput
|
||||
// when LocalPlayer exists.
|
||||
if (event.key.keysym.sym == SDLK_F2)
|
||||
{
|
||||
if (event.key.state == SDL_PRESSED && g_pAppPlatform != nullptr)
|
||||
@@ -130,7 +131,6 @@ static void handle_events()
|
||||
}
|
||||
break;
|
||||
}
|
||||
*/
|
||||
|
||||
// Android Back Button
|
||||
if (event.key.keysym.sym == SDLK_AC_BACK) {
|
||||
|
||||
Reference in New Issue
Block a user