From b3f180c03630333103d41db09c35be3becfeaec6 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 19 Nov 2018 13:27:30 +0200 Subject: libjvm-android: make the hacky input scroll --- src/libjvm-android.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libjvm-android.c b/src/libjvm-android.c index e0ff8e7..b56eb3b 100644 --- a/src/libjvm-android.c +++ b/src/libjvm-android.c @@ -186,7 +186,8 @@ jfloat android_view_MotionEvent_getY(JNIEnv *env, jobject object, va_list args) { assert(env && object); - return 700; + static int y; + return y = (y + 8) % 768; } jint -- cgit v1.2.3-70-g09d2