mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Do not show Physical in the special key names.
This commit is contained in:
parent
63e14e13f9
commit
36521091aa
2 changed files with 27 additions and 7 deletions
|
|
@ -475,7 +475,10 @@ String InputEventKey::as_text() const {
|
|||
} else if (keycode != Key::NONE) {
|
||||
kc = keycode_get_string(keycode);
|
||||
} else if (physical_keycode != Key::NONE) {
|
||||
kc = keycode_get_string(physical_keycode) + " - " + RTR("Physical");
|
||||
kc = keycode_get_string(physical_keycode);
|
||||
if ((physical_keycode & Key::SPECIAL) != Key::SPECIAL) {
|
||||
kc += " - " + RTR("Physical");
|
||||
}
|
||||
} else {
|
||||
kc = "(" + RTR("unset") + ")";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue