Setup Godot to support the Oculus Mobile SDK.

This commit is contained in:
fhuya
2019-05-30 12:50:36 -07:00
parent a2cf1c3d04
commit 2c3536810a
18 changed files with 1336 additions and 667 deletions

View File

@@ -55,6 +55,8 @@ private:
jmethodID _set_clipboard = 0;
jmethodID _request_permission = 0;
jmethodID _init_input_devices = 0;
jmethodID _get_surface = 0;
jmethodID _is_activity_resumed = 0;
public:
GodotJavaWrapper(JNIEnv *p_env, jobject p_godot_instance);
@@ -78,6 +80,8 @@ public:
void set_clipboard(const String &p_text);
bool request_permission(const String &p_name);
void init_input_devices();
jobject get_surface();
bool is_activity_resumed();
};
#endif /* !JAVA_GODOT_WRAPPER_H */