1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix input event related android build issues

This commit is contained in:
Chris Serino
2017-06-06 22:29:19 -05:00
parent 9e5efa4abd
commit bdffd2ecd0
2 changed files with 9 additions and 9 deletions

View File

@@ -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);