KEYMAPPER: HardwareInputSet now has defaults

Ports can add additional special keys.
SDL no longer carries the static tables.
Default behavior unchanged: HardwareInputSet() still gives an empty one.
This commit is contained in:
Tarek Soliman 2012-02-28 06:38:07 -06:00
parent 4d1e6c3d54
commit 477c1b9a87
7 changed files with 194 additions and 213 deletions

View file

@ -183,7 +183,7 @@ void OSystem_SDL_Maemo::setupIcon() {
#ifdef ENABLE_KEYMAPPER
Common::HardwareInputSet *OSystem_SDL_Maemo::getHardwareInputSet() {
return new Common::HardwareInputSet(Common::maemoKeys, Common::maemoModifiers);
return new Common::HardwareInputSet(false, Common::maemoKeys, Common::maemoModifiers);
}
Common::Keymap *OSystem_SDL_Maemo::getGlobalKeymap() {