summaryrefslogtreecommitdiff
path: root/platform/javascript/dom_keys.inc
diff options
context:
space:
mode:
Diffstat (limited to 'platform/javascript/dom_keys.inc')
-rw-r--r--platform/javascript/dom_keys.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/dom_keys.inc b/platform/javascript/dom_keys.inc
index 25e88f99d1..fd9df765d2 100644
--- a/platform/javascript/dom_keys.inc
+++ b/platform/javascript/dom_keys.inc
@@ -218,7 +218,7 @@
#define DOM_VK_PA1 0xFD
#define DOM_VK_WIN_OEM_CLEAR 0xFE
-int dom2godot_scancode(int dom_keycode) {
+int dom2godot_keycode(int dom_keycode) {
if (DOM_VK_0 <= dom_keycode && dom_keycode <= DOM_VK_Z) {
// ASCII intersection