diff options
Diffstat (limited to 'platform/web')
-rw-r--r-- | platform/web/js/libs/library_godot_input.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/web/js/libs/library_godot_input.js b/platform/web/js/libs/library_godot_input.js index 92113e85c9..eaff40f89c 100644 --- a/platform/web/js/libs/library_godot_input.js +++ b/platform/web/js/libs/library_godot_input.js @@ -135,9 +135,9 @@ const GodotInputGamepads = { } const id = pad.id; - // Chrom* style: NAME (Vendor: xxxx Product: xxxx) + // Chrom* style: NAME (Vendor: xxxx Product: xxxx). const exp1 = /vendor: ([0-9a-f]{4}) product: ([0-9a-f]{4})/i; - // Firefox/Safari style (safari may remove leading zeores) + // Firefox/Safari style (Safari may remove leading zeroes). const exp2 = /^([0-9a-f]+)-([0-9a-f]+)-/i; let vendor = ''; let product = ''; |