[Scummvm-cvs-logs] scummvm master -> e68d6c23fefde8df2ee23f3e23035c3b73a641e6
kayahr
k at ailis.de
Sat Jul 21 18:26:29 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:
e68d6c23fe WEBOS: Remove broken keymapper code which is not needed anymore anyway
Commit: e68d6c23fefde8df2ee23f3e23035c3b73a641e6
https://github.com/scummvm/scummvm/commit/e68d6c23fefde8df2ee23f3e23035c3b73a641e6
Author: Klaus Reimer (k at ailis.de)
Date: 2012-07-21T08:33:52-07:00
Commit Message:
WEBOS: Remove broken keymapper code which is not needed anymore anyway
Changed paths:
backends/platform/webos/webos.cpp
backends/platform/webos/webos.h
diff --git a/backends/platform/webos/webos.cpp b/backends/platform/webos/webos.cpp
index 4ec153a..fc18628 100644
--- a/backends/platform/webos/webos.cpp
+++ b/backends/platform/webos/webos.cpp
@@ -45,24 +45,4 @@ void OSystem_SDL_WebOS::initBackend() {
OSystem_SDL::initBackend();
}
-/**
- * Gets the original SDL hardware key set, adds WebOS specific keys and
- * returns the new key set.
- *
- * @return The hardware key set with added webOS specific keys.
- */
-#ifdef ENABLE_KEYMAPPER
-HardwareInputSet *OSystem_SDL_WebOS::getHardwareInputSet() {
- // Get the original SDL hardware key set
- HardwareInputSet *inputSet = OSystem_SDL::getHardwareInputSet();
-
- // Add WebOS specific keys
- inputSet->addHardwareInput(new HardwareInput("FORWARD",
- KeyState((KeyCode) 229, 229, 0), "Forward"));
-
- // Return the modified hardware key set
- return inputSet;
-}
-#endif
-
#endif
diff --git a/backends/platform/webos/webos.h b/backends/platform/webos/webos.h
index 8dfa432..dda56a7 100644
--- a/backends/platform/webos/webos.h
+++ b/backends/platform/webos/webos.h
@@ -31,9 +31,6 @@ public:
OSystem_SDL_WebOS();
virtual void initBackend();
-#ifdef ENABLE_KEYMAPPER
- virtual Common::HardwareInputSet *getHardwareInputSet();
-#endif
};
#endif
More information about the Scummvm-git-logs
mailing list