mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
KEYMAPPER: Disable the broken auto mapping code
This commit is contained in:
parent
44e4e16819
commit
d5aa988f16
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user