aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorTarek Soliman2012-07-14 23:39:28 -0500
committerTarek Soliman2012-07-14 23:55:21 -0500
commitaa8dec9a722e1b85374a215cba9a7066040a5e6e (patch)
treee43043204cef3b286a86239a10b18d08785c863a /backends/platform
parenta97f4466fdf7320cf184d0d4974670b4b4e4bee4 (diff)
downloadscummvm-rg350-aa8dec9a722e1b85374a215cba9a7066040a5e6e.tar.gz
scummvm-rg350-aa8dec9a722e1b85374a215cba9a7066040a5e6e.tar.bz2
scummvm-rg350-aa8dec9a722e1b85374a215cba9a7066040a5e6e.zip
MAEMO: Fix compile without keymapper
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/maemo/maemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/maemo/maemo.cpp b/backends/platform/maemo/maemo.cpp
index e296d4787c..eb9b144ab2 100644
--- a/backends/platform/maemo/maemo.cpp
+++ b/backends/platform/maemo/maemo.cpp
@@ -180,6 +180,7 @@ void OSystem_SDL_Maemo::setupIcon() {
// http://bugzilla.libsdl.org/show_bug.cgi?id=586
}
+#ifdef ENABLE_KEYMAPPER
static const Common::KeyTableEntry maemoKeys[] = {
// Function keys
{"MENU", Common::KEYCODE_F11, 0, "Menu", false},
@@ -191,7 +192,6 @@ static const Common::KeyTableEntry maemoKeys[] = {
{0, Common::KEYCODE_INVALID, 0, 0, false}
};
-#ifdef ENABLE_KEYMAPPER
Common::HardwareInputSet *OSystem_SDL_Maemo::getHardwareInputSet() {
return new Common::HardwareInputSet(true, maemoKeys);
}