You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Fix HTML5 gamepad logic for Emscripten 1.38.22 compat breakage
This commit is contained in:
@@ -970,7 +970,8 @@ bool OS_JavaScript::main_loop_iterate() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
process_joypads();
|
if (emscripten_sample_gamepad_data() == EMSCRIPTEN_RESULT_SUCCESS)
|
||||||
|
process_joypads();
|
||||||
|
|
||||||
if (just_exited_fullscreen) {
|
if (just_exited_fullscreen) {
|
||||||
if (window_maximized) {
|
if (window_maximized) {
|
||||||
|
|||||||
Reference in New Issue
Block a user