Update the fallback input mapping for the Oculus mobile devices.

This commit is contained in:
fhuya 2019-08-26 17:47:13 -07:00
parent be99e7b68f
commit 5eaaabceaf
8 changed files with 195 additions and 48 deletions

View file

@ -644,7 +644,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_initialize(JNIEnv *en
godot_java->on_video_init(env);
}
JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_ondestroy(JNIEnv *env) {
JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_ondestroy(JNIEnv *env, jobject obj, jobject activity) {
// lets cleanup
if (godot_io_java) {
delete godot_io_java;