From bdffd2ecd0a89f72d4cfe84a54c17b5e11383ec2 Mon Sep 17 00:00:00 2001 From: Chris Serino Date: Tue, 6 Jun 2017 22:29:19 -0500 Subject: Fix input event related android build issues --- platform/android/java_glue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android/java_glue.cpp') diff --git a/platform/android/java_glue.cpp b/platform/android/java_glue.cpp index 37f53a247..d4bd44368 100644 --- a/platform/android/java_glue.cpp +++ b/platform/android/java_glue.cpp @@ -1367,7 +1367,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_joybutton(JNIEnv *env jevent.device = p_device; jevent.type = OS_Android::JOY_EVENT_BUTTON; jevent.index = p_button; - jevent->is_pressed() = p_pressed; + jevent.pressed = p_pressed; input_mutex->lock(); joy_events.push_back(jevent); -- cgit v1.2.3-70-g09d2