diff options
| author | Tarek Soliman | 2012-02-24 13:23:55 -0600 |
|---|---|---|
| committer | Tarek Soliman | 2012-02-27 13:00:56 -0600 |
| commit | 6afac4e01eba5c297e99597dd2cb17c2e4732a7e (patch) | |
| tree | da3a7473c70f529a7cc399975349607d412eb713 /backends/platform/webos | |
| parent | b0f961924a856b71ebffdb834db122145c4c10e5 (diff) | |
| download | scummvm-rg350-6afac4e01eba5c297e99597dd2cb17c2e4732a7e.tar.gz scummvm-rg350-6afac4e01eba5c297e99597dd2cb17c2e4732a7e.tar.bz2 scummvm-rg350-6afac4e01eba5c297e99597dd2cb17c2e4732a7e.zip | |
KEYMAPPER: Rename HardwareKey to HardwareInput
Diffstat (limited to 'backends/platform/webos')
| -rw-r--r-- | backends/platform/webos/webos.cpp | 8 | ||||
| -rw-r--r-- | backends/platform/webos/webos.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/backends/platform/webos/webos.cpp b/backends/platform/webos/webos.cpp index 710a3f79be..7dd42e5440 100644 --- a/backends/platform/webos/webos.cpp +++ b/backends/platform/webos/webos.cpp @@ -52,16 +52,16 @@ void OSystem_SDL_WebOS::initBackend() { * @return The hardware key set with added webOS specific keys. */ #ifdef ENABLE_KEYMAPPER -HardwareKeySet *OSystem_SDL_WebOS::getHardwareKeySet() { +HardwareInputSet *OSystem_SDL_WebOS::getHardwareInputSet() { // Get the original SDL hardware key set - HardwareKeySet *keySet = OSystem_SDL::getHardwareKeySet(); + HardwareInputSet *inputSet = OSystem_SDL::getHardwareInputSet(); // Add WebOS specific keys - keySet->addHardwareKey(new HardwareKey("FORWARD", + keySet->addHardwareInput(new HardwareInput("FORWARD", KeyState((KeyCode) 229, 229, 0), "Forward")); // Return the modified hardware key set - return keySet; + return inputSet; } #endif diff --git a/backends/platform/webos/webos.h b/backends/platform/webos/webos.h index 71390a1d2c..8dfa43239c 100644 --- a/backends/platform/webos/webos.h +++ b/backends/platform/webos/webos.h @@ -32,7 +32,7 @@ public: virtual void initBackend(); #ifdef ENABLE_KEYMAPPER - virtual Common::HardwareKeySet *getHardwareKeySet(); + virtual Common::HardwareInputSet *getHardwareInputSet(); #endif }; |
