mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 09:29:38 +01:00
Ported: Change message of unknown joypad property from error to warning.
- rsubtil and akien-mga
e814861950
This commit is contained in:
parent
2db3148b23
commit
17a4e4b28f
@ -1192,8 +1192,11 @@ void InputDefault::parse_mapping(String p_mapping) {
|
||||
|
||||
JoystickList output_button = _get_output_button(output);
|
||||
JoystickList output_axis = _get_output_axis(output);
|
||||
ERR_CONTINUE_MSG(output_button == JOY_INVALID_OPTION && output_axis == JOY_INVALID_OPTION,
|
||||
vformat("Unrecognised output string \"%s\" in mapping:\n%s", output, p_mapping));
|
||||
|
||||
if (output_button == JOY_INVALID_OPTION && output_axis == JOY_INVALID_OPTION) {
|
||||
print_verbose(vformat("Unrecognized output string \"%s\" in mapping:\n%s", output, p_mapping));
|
||||
}
|
||||
|
||||
ERR_CONTINUE_MSG(output_button != JOY_INVALID_OPTION && output_axis != JOY_INVALID_OPTION,
|
||||
vformat("Output string \"%s\" matched both button and axis in mapping:\n%s", output, p_mapping));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user