Merge pull request #48928 from Faless/js/4.x_fix_build_after_rename

[HTML5] Fix build after KEY_CTRL rename.
This commit is contained in:
Rémi Verschelde 2021-05-21 18:33:15 +02:00 committed by GitHub
commit 2362a59a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ int dom_code2godot_scancode(EM_UTF8 const p_code[32], EM_UTF8 const p_key[32], b
DOM2GODOT("Backspace", BACKSPACE);
DOM2GODOT("CapsLock", CAPSLOCK);
DOM2GODOT("ContextMenu", MENU);
DOM2GODOT("ControlLeft", CONTROL);
DOM2GODOT("ControlRight", CONTROL);
DOM2GODOT("ControlLeft", CTRL);
DOM2GODOT("ControlRight", CTRL);
DOM2GODOT("Enter", ENTER);
DOM2GODOT("MetaLeft", SUPER_L);
DOM2GODOT("MetaRight", SUPER_R);