KEYMAPPER: Rework HardwareInputSet not to allocate all possible inputs
This commit is contained in:
parent
0995f40677
commit
df7ce0c55f
12 changed files with 324 additions and 186 deletions
|
@ -184,7 +184,11 @@ static const Common::KeyTableEntry maemoKeys[] = {
|
|||
};
|
||||
|
||||
Common::HardwareInputSet *OSystem_SDL_Maemo::getHardwareInputSet() {
|
||||
return new Common::HardwareInputSet(true, maemoKeys);
|
||||
Common::CompositeHardwareInputSet inputSet = new Common::CompositeHardwareInputSet();
|
||||
inputSet->addHardwareInputSet(new Common::KeyboardHardwareInputSet(maemoKeys, defaultModifiers));
|
||||
inputSet->addHardwareInputSet(new Common::KeyboardHardwareInputSet(defaultKeys, defaultModifiers));
|
||||
|
||||
return inputSet;
|
||||
}
|
||||
|
||||
Common::KeymapArray OSystem_SDL_Maemo::getGlobalKeymaps() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue