diff options
author | Tarek Soliman | 2012-02-09 01:26:23 -0600 |
---|---|---|
committer | Tarek Soliman | 2012-02-12 13:28:13 -0600 |
commit | e52f75eaa40b6a8f6f0db3a14a7dabf2e54506d3 (patch) | |
tree | ff2ead1b0e4a5c1e475811128f93ec019805c3d3 /backends/platform/maemo/maemo.cpp | |
parent | 52da780fbc10200b91d92e7cd04932b101c7539b (diff) | |
download | scummvm-rg350-e52f75eaa40b6a8f6f0db3a14a7dabf2e54506d3.tar.gz scummvm-rg350-e52f75eaa40b6a8f6f0db3a14a7dabf2e54506d3.tar.bz2 scummvm-rg350-e52f75eaa40b6a8f6f0db3a14a7dabf2e54506d3.zip |
MAEMO: Define HardwareKeySet
Diffstat (limited to 'backends/platform/maemo/maemo.cpp')
-rw-r--r-- | backends/platform/maemo/maemo.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backends/platform/maemo/maemo.cpp b/backends/platform/maemo/maemo.cpp index 454a13631c..24f5d38e5e 100644 --- a/backends/platform/maemo/maemo.cpp +++ b/backends/platform/maemo/maemo.cpp @@ -28,6 +28,7 @@ #include "common/config-manager.h" #include "backends/platform/maemo/maemo.h" +#include "backends/platform/maemo/maemo-keys.h" #include "backends/events/maemosdl/maemosdl-events.h" #include "backends/graphics/maemosdl/maemosdl-graphics.h" #include "common/textconsole.h" @@ -118,6 +119,16 @@ void OSystem_SDL_Maemo::setupIcon() { // http://bugzilla.libsdl.org/show_bug.cgi?id=586 } +Common::HardwareKeySet *OSystem_SDL_Maemo::getHardwareKeySet() { +#ifdef ENABLE_KEYMAPPER + return new Common::HardwareKeySet(Common::maemoKeys, Common::maemoModifiers); +#else + return OSystem_POSIX::getHardwareKeySet(); +#endif +} + } //namespace Maemo + + #endif |