Ignore hint entries in game controller mapping
This commit is contained in:
parent
639fdefc10
commit
c3150eb783
1 changed files with 1 additions and 1 deletions
|
@ -1126,7 +1126,7 @@ void InputDefault::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;
|
||||||
|
|
||||||
JoyAxisRange output_range = FULL_AXIS;
|
JoyAxisRange output_range = FULL_AXIS;
|
||||||
|
|
Loading…
Reference in a new issue