diff options
author | Lars Persson | 2007-11-24 12:57:08 +0000 |
---|---|---|
committer | Lars Persson | 2007-11-24 12:57:08 +0000 |
commit | 54aea9bd7460838acb8c2c2bbc26e5fbd16a42d1 (patch) | |
tree | 4f8345a2b4566f568412214e92b9ec804b84de43 /backends/platform/symbian/src/SymbianOS.cpp | |
parent | c37df6a7b3f1be5cc21d072956e735aedf675369 (diff) | |
download | scummvm-rg350-54aea9bd7460838acb8c2c2bbc26e5fbd16a42d1.tar.gz scummvm-rg350-54aea9bd7460838acb8c2c2bbc26e5fbd16a42d1.tar.bz2 scummvm-rg350-54aea9bd7460838acb8c2c2bbc26e5fbd16a42d1.zip |
Fix for keymappings not working properly for S60
svn-id: r29627
Diffstat (limited to 'backends/platform/symbian/src/SymbianOS.cpp')
-rw-r--r-- | backends/platform/symbian/src/SymbianOS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp index 3337ae6410..252c11308b 100644 --- a/backends/platform/symbian/src/SymbianOS.cpp +++ b/backends/platform/symbian/src/SymbianOS.cpp @@ -366,8 +366,8 @@ bool OSystem_SDL_Symbian::remapKey(SDL_Event &ev, Common::Event &event) { case GUI::ACTION_FASTMODE: case GUI::ACTION_DEBUGGER: { GUI::Key &key = GUI::Actions::Instance()->getKeyAction(loop); - ev.key.keysym.sym = (SDLKey) key.ascii(); - ev.key.keysym.scancode= key.keycode(); + ev.key.keysym.sym = (SDLKey) key.keycode(); + ev.key.keysym.scancode = 0; ev.key.keysym.mod = (SDLMod) key.flags(); // Translate from SDL keymod event to Scummvm Key Mod Common::Event. |