Skip to content

Commit

Permalink
WEBOS: Remove broken keymapper code which is not needed anymore anyway
Browse files Browse the repository at this point in the history
(cherry picked from commit e68d6c2)
  • Loading branch information
kayahr committed Jul 21, 2012
1 parent e940a0e commit 6f4c274
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
20 changes: 0 additions & 20 deletions backends/platform/webos/webos.cpp
Expand Up @@ -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
3 changes: 0 additions & 3 deletions backends/platform/webos/webos.h
Expand Up @@ -31,9 +31,6 @@ class OSystem_SDL_WebOS : public OSystem_POSIX {
OSystem_SDL_WebOS();

virtual void initBackend();
#ifdef ENABLE_KEYMAPPER
virtual Common::HardwareInputSet *getHardwareInputSet();
#endif
};

#endif

0 comments on commit 6f4c274

Please sign in to comment.