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,6 +970,7 @@ bool OS_JavaScript::main_loop_iterate() {
|
|||
}
|
||||
}
|
||||
|
||||
if (emscripten_sample_gamepad_data() == EMSCRIPTEN_RESULT_SUCCESS)
|
||||
process_joypads();
|
||||
|
||||
if (just_exited_fullscreen) {
|
||||
|
|
Loading…
Reference in a new issue