mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
fix many things and make playable
This commit is contained in:
@@ -715,7 +715,7 @@ void Minecraft::tickInput() {
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#if defined(RPI)
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
if (key == Keyboard::KEY_E) {
|
||||
screenChooser.setScreen(SCREEN_BLOCKSELECTION);
|
||||
}
|
||||
@@ -831,7 +831,7 @@ void Minecraft::tickInput() {
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef RPI
|
||||
#ifndef PLATFORM_DESKTOP
|
||||
if (key == 82)
|
||||
pauseGame(false);
|
||||
#else
|
||||
@@ -1242,7 +1242,7 @@ void Minecraft::_reloadInput() {
|
||||
#ifndef STANDALONE_SERVER
|
||||
delete inputHolder;
|
||||
|
||||
if (useTouchscreen()) {
|
||||
if (useTouchscreen() && !PLATFORM_DESKTOP) {
|
||||
inputHolder = new TouchInputHolder(this, &options);
|
||||
} else {
|
||||
#if defined(ANDROID) || defined(__APPLE__)
|
||||
|
||||
Reference in New Issue
Block a user