1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-10 11:25:07 -05:00
minetest/build/android
Maksim Gamarnik b906ed4e59 Fix locked hardware buttons on Android
Fixes #2122
Fixes #1454

Addendum (est31)
According from its docs in android_native_app_glue.h (from the NDK), the
onInputEvent should "Return 1 if you have handled the event, 0 for any
default dispatching". Before, we always returned 1, meaning we blocked
all hardware keys to be given to the OS.
This broke the volume keys and has caused #2122 and #1454.

Although it bases on lots of guesswork, it can probably safely be said that
CGUIEnvironment::postEventFromUser returns true if the event was handled,
and false if not. Therefore, set the status variable depending on what
postEventFromUser returned.
2016-05-14 23:42:36 +10:00
..
jni Upgrade Android build to Gradle build system 2016-04-28 12:28:42 -04:00
patches Fix locked hardware buttons on Android 2016-05-14 23:42:36 +10:00
src Fix locked hardware buttons on Android 2016-05-14 23:42:36 +10:00
build.gradle Upgrade Android build to Gradle build system 2016-04-28 12:28:42 -04:00
Makefile Android: download deps using https 2016-05-12 05:03:15 +02:00
settings.gradle Upgrade Android build to Gradle build system 2016-04-28 12:28:42 -04:00