diff options
author | hondres <liu.gam3@gmail.com> | 2016-01-24 05:11:59 +0100 |
---|---|---|
committer | hondres <liu.gam3@gmail.com> | 2016-01-24 05:29:09 +0100 |
commit | e7c920fdbabd65a86864ec9610f895bee82f05ba (patch) | |
tree | d97aa6da8b4ff05a1164d0bdeadff4c83b3be1cd /platform/android/java_glue.h | |
parent | 6c27df8df609337867c108c5adb66174393e190b (diff) |
support gamepad remapping on android
Diffstat (limited to 'platform/android/java_glue.h')
-rw-r--r-- | platform/android/java_glue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/java_glue.h b/platform/android/java_glue.h index efa5b2839d..1d65d21251 100644 --- a/platform/android/java_glue.h +++ b/platform/android/java_glue.h @@ -45,6 +45,8 @@ extern "C" { JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_key(JNIEnv * env, jobject obj, jint p_scancode, jint p_unicode_char, jboolean p_pressed); JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_joybutton(JNIEnv * env, jobject obj, jint p_device, jint p_button, jboolean p_pressed); JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_joyaxis(JNIEnv * env, jobject obj, jint p_device, jint p_axis, jfloat p_value); + JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_joyhat(JNIEnv * env, jobject obj, jint p_device, jint p_hat_x, jint p_hat_y); + JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_joyconnectionchanged(JNIEnv * env, jobject obj, jint p_device, jboolean p_connected, jstring p_name); JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_audio(JNIEnv * env, jobject obj); JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_accelerometer(JNIEnv * env, jobject obj, jfloat x, jfloat y, jfloat z); JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_focusin(JNIEnv * env, jobject obj); |