summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-03 09:06:40 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-03 09:06:40 +0000
commite887ebf817b51c4b8769642b4ab8198c8e350172 (patch)
tree987704a95b1dff4a512d9872ab93a50a26d80290
parent2a0de6d88cfdc7cbd42e448fd44f1fbc438b320c (diff)
Ignore hint entries in game controller mapping
-rw-r--r--core/input/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input.cpp b/core/input/input.cpp
index 00a7e63a73..153656e44a 100644
--- a/core/input/input.cpp
+++ b/core/input/input.cpp
@@ -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;
}