You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Do not show Physical in the special key names.
This commit is contained in:
@@ -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") + ")";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user