Ignore hint entries in game controller mapping

This commit is contained in:
Marcel Admiraal 2020-12-03 09:06:40 +00:00
parent 2a0de6d88c
commit e887ebf817

View File

@ -1211,7 +1211,7 @@ void Input::parse_mapping(String p_mapping) {
ERR_CONTINUE_MSG(output.length() < 1 || input.length() < 2,
String(entry[idx] + "\nInvalid device mapping entry: " + entry[idx]));
if (output == "platform") {
if (output == "platform" || output == "hint") {
continue;
}