aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/webos
diff options
context:
space:
mode:
authorKlaus Reimer2012-07-21 16:39:28 +0200
committerKlaus Reimer2012-07-21 17:33:52 +0200
commite68d6c23fefde8df2ee23f3e23035c3b73a641e6 (patch)
tree4ef71f2c17ffade668cdacec036a82d605b31ef8 /backends/platform/webos
parent5636c1fee05d1b718597017e003fa046c9791902 (diff)
downloadscummvm-rg350-e68d6c23fefde8df2ee23f3e23035c3b73a641e6.tar.gz
scummvm-rg350-e68d6c23fefde8df2ee23f3e23035c3b73a641e6.tar.bz2
scummvm-rg350-e68d6c23fefde8df2ee23f3e23035c3b73a641e6.zip
WEBOS: Remove broken keymapper code which is not needed anymore anyway
Diffstat (limited to 'backends/platform/webos')
-rw-r--r--backends/platform/webos/webos.cpp20
-rw-r--r--backends/platform/webos/webos.h3
2 files changed, 0 insertions, 23 deletions
diff --git a/backends/platform/webos/webos.cpp b/backends/platform/webos/webos.cpp
index 4ec153a7e9..fc18628235 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 8dfa43239c..dda56a70da 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