diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-08 10:05:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 10:05:39 +0200 |
commit | 98497ff71928daff6afb393b26e230e28bf18e3e (patch) | |
tree | 717b14d4fa32e718773521ad941e25bb63cb885a /platform/android/java_godot_lib_jni.h | |
parent | 02d75f99b96e5d060b537863644c9b6679737b49 (diff) | |
parent | db582a2c8cc0bf7d237a973f17ad099fdf424859 (diff) |
Merge pull request #21621 from AlexHolly/android-pen-hover-support
Adds Pen support for Android
Diffstat (limited to 'platform/android/java_godot_lib_jni.h')
-rw-r--r-- | platform/android/java_godot_lib_jni.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/java_godot_lib_jni.h b/platform/android/java_godot_lib_jni.h index 11bda94f8d..a564bbd4a1 100644 --- a/platform/android/java_godot_lib_jni.h +++ b/platform/android/java_godot_lib_jni.h @@ -45,6 +45,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_newcontext(JNIEnv *en JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_step(JNIEnv *env, jobject obj); JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_back(JNIEnv *env, jobject obj); JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_touch(JNIEnv *env, jobject obj, jint ev, jint pointer, jint count, jintArray positions); +JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_hover(JNIEnv *env, jobject obj, jint p_type, jint p_x, jint p_y); 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); |