mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 03:24:32 -05:00
Fix HTML5 gamepad logic for Emscripten 1.38.22 compat breakage
This commit is contained in:
parent
1efd37f1b7
commit
0d47dccda9
1 changed files with 2 additions and 1 deletions
|
@ -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 (window_maximized) {
|
||||
|
|
Loading…
Add table
Reference in a new issue