mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Adds Pen support for Android
This commit is contained in:
parent
5a23ab61fa
commit
db582a2c8c
6 changed files with 44 additions and 1 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue