diff options
author | Maksim <MoNTE48@mail.ua> | 2020-04-15 16:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 16:27:40 +0200 |
commit | 62ae7adab2bebde04864c12543caefbffab24963 (patch) | |
tree | 1cad2b08c94c2de26a39124f3b3dd0d513cbcc99 /build/android/patches/irrlicht-back_button.patch | |
parent | 8ae8c1600a66c724565ce7a70e0e5f542f12e38e (diff) | |
download | minetest-62ae7adab2bebde04864c12543caefbffab24963.tar.gz minetest-62ae7adab2bebde04864c12543caefbffab24963.tar.bz2 minetest-62ae7adab2bebde04864c12543caefbffab24963.zip |
Android: add Android Studio support, completely redone java part (#9066)
Diffstat (limited to 'build/android/patches/irrlicht-back_button.patch')
-rw-r--r-- | build/android/patches/irrlicht-back_button.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/build/android/patches/irrlicht-back_button.patch b/build/android/patches/irrlicht-back_button.patch deleted file mode 100644 index e17b81347..000000000 --- a/build/android/patches/irrlicht-back_button.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- irrlicht/source/Irrlicht/Android/CIrrDeviceAndroid.cpp.orig 2015-08-29 15:43:09.000000000 +0300 -+++ irrlicht/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2016-05-13 21:36:22.880388505 +0300 -@@ -486,7 +486,7 @@ - event.KeyInput.Char = 0;
- }
-
-- device->postEventFromUser(event);
-+ status = device->postEventFromUser(event);
- }
- break;
- default:
-@@ -543,7 +543,7 @@ - KeyMap[1] = KEY_LBUTTON; // AKEYCODE_SOFT_LEFT
- KeyMap[2] = KEY_RBUTTON; // AKEYCODE_SOFT_RIGHT
- KeyMap[3] = KEY_HOME; // AKEYCODE_HOME
-- KeyMap[4] = KEY_BACK; // AKEYCODE_BACK
-+ KeyMap[4] = KEY_CANCEL; // AKEYCODE_BACK
- KeyMap[5] = KEY_UNKNOWN; // AKEYCODE_CALL
- KeyMap[6] = KEY_UNKNOWN; // AKEYCODE_ENDCALL
- KeyMap[7] = KEY_KEY_0; // AKEYCODE_0
|