Merge pull request #25149 from eska014/html5-gamepad-sampling
Fix HTML5 gamepad sampling
This commit is contained in:
commit
35728e41ba
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user