You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Added Input_Map entry for backspacing using Shift+Backspace
This commit is contained in:
@@ -511,6 +511,7 @@ const OrderedHashMap<String, List<Ref<InputEvent>>> &InputMap::get_builtins() {
|
|||||||
// Text Backspace and Delete
|
// Text Backspace and Delete
|
||||||
inputs = List<Ref<InputEvent>>();
|
inputs = List<Ref<InputEvent>>();
|
||||||
inputs.push_back(InputEventKey::create_reference(KEY_BACKSPACE));
|
inputs.push_back(InputEventKey::create_reference(KEY_BACKSPACE));
|
||||||
|
inputs.push_back(InputEventKey::create_reference(KEY_BACKSPACE | KEY_MASK_SHIFT));
|
||||||
default_builtin_cache.insert("ui_text_backspace", inputs);
|
default_builtin_cache.insert("ui_text_backspace", inputs);
|
||||||
|
|
||||||
inputs = List<Ref<InputEvent>>();
|
inputs = List<Ref<InputEvent>>();
|
||||||
|
|||||||
Reference in New Issue
Block a user