Fix for keymappings not working properly for S60

svn-id: r29627
This commit is contained in:
Lars Persson 2007-11-24 12:57:08 +00:00
parent c37df6a7b3
commit 54aea9bd74
2 changed files with 13 additions and 13 deletions

View file

@ -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.