diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2017-08-06 16:26:07 +0300 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2017-08-06 16:26:07 +0300 |
commit | 7b7c7c8dc0e3572a7d66d274b3e4db43695ce814 (patch) | |
tree | 25d57da6ca8f480f0012b10935b96caba6eda32d /platform/javascript | |
parent | 97e942dd42ea5df241e1e81704eaa6c383f3c9b4 (diff) |
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
Closes #7695
Diffstat (limited to 'platform/javascript')
-rw-r--r-- | platform/javascript/dom_keys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/dom_keys.h b/platform/javascript/dom_keys.h index 979731d157..4b8b764c45 100644 --- a/platform/javascript/dom_keys.h +++ b/platform/javascript/dom_keys.h @@ -249,7 +249,7 @@ int dom2godot_scancode(int dom_keycode) { case DOM_VK_RETURN: case DOM_VK_ENTER: // unused according to MDN - return KEY_RETURN; + return KEY_ENTER; case DOM_VK_SHIFT: return KEY_SHIFT; case DOM_VK_CONTROL: return KEY_CONTROL; |