aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTarek Soliman2011-10-09 14:11:06 -0500
committerTarek Soliman2011-10-27 09:53:26 -0500
commitd5aa988f1669f08001d6a06ede661e00d81bd021 (patch)
treefd62e1ba7e9a3d7c640f01475ebc76aa3c91bc92 /backends
parent44e4e16819186d45e3a1adeed311218b92bbf283 (diff)
downloadscummvm-rg350-d5aa988f1669f08001d6a06ede661e00d81bd021.tar.gz
scummvm-rg350-d5aa988f1669f08001d6a06ede661e00d81bd021.tar.bz2
scummvm-rg350-d5aa988f1669f08001d6a06ede661e00d81bd021.zip
KEYMAPPER: Disable the broken auto mapping code
Diffstat (limited to 'backends')
-rw-r--r--backends/keymapper/keymap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/keymapper/keymap.cpp b/backends/keymapper/keymap.cpp
index 1518cba693..d2c9b9b572 100644
--- a/backends/keymapper/keymap.cpp
+++ b/backends/keymapper/keymap.cpp
@@ -199,6 +199,7 @@ bool Keymap::isComplete(const HardwareKeySet *hwKeys) {
// - if an action finds a key with required type but a parent action with
// higher priority is using it, that key is never used
void Keymap::automaticMapping(HardwareKeySet *hwKeys) {
+#if 0 //disabling the broken automapper for now
// Create copies of action and key lists.
List<Action*> actions(_actions);
List<const HardwareKey*> keys(hwKeys->getHardwareKeys());
@@ -318,6 +319,7 @@ void Keymap::automaticMapping(HardwareKeySet *hwKeys) {
break;
}
}
+#endif
}
Action *Keymap::getParentMappedAction(KeyState key) {