godot/platform/javascript/js
Fabio Alessandrelli f56b1a5af5
[HTML5] Add checks to Gamepad API events.
In some conditions the events might be generated even when the `gamepad`
object is not accessible due to Security Context requirements.
This commit adds a check to avoid firing the handler in those cases.

(cherry picked from commit 91dbc288cc)
2021-11-20 11:46:13 +01:00
..
engine [HTML5] Add option to focus canvas on start. 2021-06-29 14:02:23 +02:00
jsdoc2rst
libs [HTML5] Add checks to Gamepad API events. 2021-11-20 11:46:13 +01:00