add support for the boneheaded method of receiving input events that is used by NativeActivity apps

currently, our "not-actually-a-queue" implementation is quite ugly,
hopefully it might be possible to make it look somewhat sane while
not needing to make it as much of a queue as it is on android
This commit is contained in:
Mis012
2022-11-11 19:18:21 +01:00
parent 231ac88dbd
commit 33b4515cb9
12 changed files with 291 additions and 36 deletions

View File

@@ -15,6 +15,14 @@ extern "C" {
JNIEXPORT void JNICALL Java_android_view_Window_set_1widget_1as_1root
(JNIEnv *, jobject, jlong, jlong);
/*
* Class: android_view_Window
* Method: take_input_queue
* Signature: (JLandroid/view/InputQueue/Callback;Landroid/view/InputQueue;)V
*/
JNIEXPORT void JNICALL Java_android_view_Window_take_1input_1queue
(JNIEnv *, jobject, jlong, jobject, jobject);
#ifdef __cplusplus
}
#endif