Merge pull request #78538 from Sauermann/fix-code-simplifications

Remove unnecessary value assignments throughout the codebase
This commit is contained in:
Yuri Sizov 2023-07-12 15:09:26 +02:00
commit 5dff3c4484
8 changed files with 6 additions and 14 deletions

View file

@ -88,7 +88,7 @@ void AndroidInputHandler::process_key_event(int p_physical_keycode, int p_unicod
ev.instantiate();
Key physical_keycode = godot_code_from_android_code(p_physical_keycode);
Key keycode = physical_keycode;
Key keycode;
if (unicode == '\b') { // 0x08
keycode = Key::BACKSPACE;
} else if (unicode == '\t') { // 0x09