1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Adds Pen support for Android

This commit is contained in:
Alexander Holland
2018-08-29 17:06:48 +02:00
parent 5a23ab61fa
commit db582a2c8c
6 changed files with 44 additions and 1 deletions

View File

@@ -826,6 +826,13 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_touch(JNIEnv *env, jo
*/
}
JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_hover(JNIEnv *env, jobject obj, jint p_type, jint p_x, jint p_y) {
if (step == 0)
return;
os_android->process_hover(p_type, Point2(p_x, p_y));
}
/*
* Android Key codes.
*/