Merge pull request #44062 from madmiraal/fix-44056-3.2

[3.2] Ignore hint entries in game controller mapping
This commit is contained in:
Rémi Verschelde 2020-12-03 13:27:35 +01:00 committed by GitHub
commit 7d7b9a7fe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1126,7 +1126,7 @@ void InputDefault::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;
JoyAxisRange output_range = FULL_AXIS;