summaryrefslogtreecommitdiff
path: root/platform/android/java_godot_lib_jni.cpp
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@fb.com>2022-06-25 18:48:14 -0700
committerGitHub <noreply@github.com>2022-06-25 18:48:14 -0700
commit6a7471b204d0cb4dfc9c89c539b3bb516444382b (patch)
treeb080f454d7ab786f23d2f18d88aa175b1cd730b3 /platform/android/java_godot_lib_jni.cpp
parent295a79c12540f0cb26e73404b641cd4848a2c1a7 (diff)
parent076638f13b1f28d4ebffea8c74ac84fc1aa99c80 (diff)
Merge pull request #62289 from madmiraal/fix-61816
Remove broken scroll gesture on Android
Diffstat (limited to 'platform/android/java_godot_lib_jni.cpp')
-rw-r--r--platform/android/java_godot_lib_jni.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/platform/android/java_godot_lib_jni.cpp b/platform/android/java_godot_lib_jni.cpp
index de666f1b11..eaffe14b13 100644
--- a/platform/android/java_godot_lib_jni.cpp
+++ b/platform/android/java_godot_lib_jni.cpp
@@ -306,15 +306,6 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_doubleTap(JNIEnv *env
}
// Called on the UI thread
-JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_scroll(JNIEnv *env, jclass clazz, jint p_x, jint p_y) {
- if (step.get() <= 0) {
- return;
- }
-
- input_handler->process_scroll(Point2(p_x, p_y));
-}
-
-// Called on the UI thread
JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_joybutton(JNIEnv *env, jclass clazz, jint p_device, jint p_button, jboolean p_pressed) {
if (step.get() <= 0) {
return;