You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
Closes #7695
This commit is contained in:
@@ -219,11 +219,11 @@ void InputMap::load_default() {
|
||||
|
||||
add_action("ui_accept");
|
||||
key.instance();
|
||||
key->set_scancode(KEY_RETURN);
|
||||
key->set_scancode(KEY_ENTER);
|
||||
action_add_event("ui_accept", key);
|
||||
|
||||
key.instance();
|
||||
key->set_scancode(KEY_ENTER);
|
||||
key->set_scancode(KEY_KP_ENTER);
|
||||
action_add_event("ui_accept", key);
|
||||
|
||||
key.instance();
|
||||
|
||||
Reference in New Issue
Block a user