summaryrefslogtreecommitdiff
path: root/platform/android/java_godot_wrapper.h
diff options
context:
space:
mode:
authorfhuya <fhuyakou@gmail.com>2019-08-26 17:47:13 -0700
committerfhuya <fhuyakou@gmail.com>2019-08-26 18:48:54 -0700
commit5eaaabceaf1403b8348b95830bd177df8a01ef72 (patch)
tree2b5f7c3edf48e14a135b9c39edd9a20d27dfe422 /platform/android/java_godot_wrapper.h
parentbe99e7b68f554fbdb7d9f979265542f4bd6724bd (diff)
Update the fallback input mapping for the Oculus mobile devices.
Diffstat (limited to 'platform/android/java_godot_wrapper.h')
-rw-r--r--platform/android/java_godot_wrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/java_godot_wrapper.h b/platform/android/java_godot_wrapper.h
index 3e0e950180..b1bd9b7f48 100644
--- a/platform/android/java_godot_wrapper.h
+++ b/platform/android/java_godot_wrapper.h
@@ -58,6 +58,7 @@ private:
jmethodID _get_surface = 0;
jmethodID _is_activity_resumed = 0;
jmethodID _vibrate = 0;
+ jmethodID _get_input_fallback_mapping = 0;
public:
GodotJavaWrapper(JNIEnv *p_env, jobject p_godot_instance);
@@ -84,6 +85,7 @@ public:
jobject get_surface();
bool is_activity_resumed();
void vibrate(int p_duration_ms);
+ String get_input_fallback_mapping();
};
#endif /* !JAVA_GODOT_WRAPPER_H */