diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-01-31 16:19:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 16:19:41 +0100 |
commit | 6bc1383b182d2d46dab9d454f5b851886db213e7 (patch) | |
tree | bc2b92c28e231277763463d6efcb6d208ae366ef /platform/javascript/js/libs/library_godot_input.js | |
parent | 777c8217485b7ead6534966c511b2388c55bca04 (diff) | |
parent | 93968e1451595ad4f2dc290497cebcc0bc7314a6 (diff) | |
download | redot-engine-6bc1383b182d2d46dab9d454f5b851886db213e7.tar.gz |
Merge pull request #57482 from Faless/js/4.x_misc_fixes
[HTML5] Fix Gamepad sampling, cleanup config code.
Diffstat (limited to 'platform/javascript/js/libs/library_godot_input.js')
-rw-r--r-- | platform/javascript/js/libs/library_godot_input.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/js/libs/library_godot_input.js b/platform/javascript/js/libs/library_godot_input.js index 7a4d0d8126..1e64c260f8 100644 --- a/platform/javascript/js/libs/library_godot_input.js +++ b/platform/javascript/js/libs/library_godot_input.js @@ -87,7 +87,7 @@ const GodotInputGamepads = { }, init: function (onchange) { - GodotEventListeners.samples = []; + GodotInputGamepads.samples = []; function add(pad) { const guid = GodotInputGamepads.get_guid(pad); const c_id = GodotRuntime.allocString(pad.id); |