Merge pull request #25149 from eska014/html5-gamepad-sampling
Fix HTML5 gamepad sampling
This commit is contained in:
commit
35728e41ba
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…
Reference in a new issue