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/android/events.cpp | |
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/android/events.cpp')
-rw-r--r-- | backends/platform/android/events.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/android/events.cpp b/backends/platform/android/events.cpp index a58b93e3bb..21d2344fa7 100644 --- a/backends/platform/android/events.cpp +++ b/backends/platform/android/events.cpp @@ -224,12 +224,12 @@ void OSystem_Android::setupKeymapper() { Keymapper *mapper = getEventManager()->getKeymapper(); - HardwareKeySet *keySet = new HardwareKeySet(); + HardwareInputSet *inputSet = new HardwareInputSet(); - keySet->addHardwareKey( - new HardwareKey("n", KeyState(KEYCODE_n), "n (vk)")); + keySet->addHardwareInput( + new HardwareInput("n", KeyState(KEYCODE_n), "n (vk)")); - mapper->registerHardwareKeySet(keySet); + mapper->registerHardwareInputSet(inputSet); Keymap *globalMap = new Keymap(kGlobalKeymapName); Action *act; |