[Scummvm-cvs-logs] scummvm master -> aa8dec9a722e1b85374a215cba9a7066040a5e6e

tsoliman tarek at bashasoliman.com
Sun Jul 15 06:57:14 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
aa8dec9a72 MAEMO: Fix compile without keymapper


Commit: aa8dec9a722e1b85374a215cba9a7066040a5e6e
    https://github.com/scummvm/scummvm/commit/aa8dec9a722e1b85374a215cba9a7066040a5e6e
Author: Tarek Soliman (tsoliman at scummvm.org)
Date: 2012-07-14T21:55:21-07:00

Commit Message:
MAEMO: Fix compile without keymapper

Changed paths:
    backends/platform/maemo/maemo.cpp



diff --git a/backends/platform/maemo/maemo.cpp b/backends/platform/maemo/maemo.cpp
index e296d47..eb9b144 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);
 }






More information about the Scummvm-git-logs mailing list