You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Merge pull request #44061 from madmiraal/fix-44056
Ignore hint entries in game controller mapping
This commit is contained in:
@@ -1211,7 +1211,7 @@ void Input::parse_mapping(String p_mapping) {
|
|||||||
ERR_CONTINUE_MSG(output.length() < 1 || input.length() < 2,
|
ERR_CONTINUE_MSG(output.length() < 1 || input.length() < 2,
|
||||||
String(entry[idx] + "\nInvalid device mapping entry: " + entry[idx]));
|
String(entry[idx] + "\nInvalid device mapping entry: " + entry[idx]));
|
||||||
|
|
||||||
if (output == "platform") {
|
if (output == "platform" || output == "hint") {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user