KEYMAPPER: Disable the broken auto mapping code

This commit is contained in:
Tarek Soliman 2011-10-09 14:11:06 -05:00
parent 44e4e16819
commit d5aa988f16

View File

@ -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) {