mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 10:23:28 +00:00
Fix input event related android build issues
This commit is contained in:
parent
9e5efa4abd
commit
bdffd2ecd0
2 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue