diff options
author | Max Horn | 2010-03-22 23:04:55 +0000 |
---|---|---|
committer | Max Horn | 2010-03-22 23:04:55 +0000 |
commit | 6545e728b6b76e41d711858b209accfe9cc1f6da (patch) | |
tree | 59327c6347195e6a4371dd0cb2aa4d4bbdecd58c /backends/platform/linuxmoto | |
parent | b104534d0d6342bf75d5eff8bd85847fc7e7f18f (diff) | |
download | scummvm-rg350-6545e728b6b76e41d711858b209accfe9cc1f6da.tar.gz scummvm-rg350-6545e728b6b76e41d711858b209accfe9cc1f6da.tar.bz2 scummvm-rg350-6545e728b6b76e41d711858b209accfe9cc1f6da.zip |
Patch #2938173: LinuxMoto update 23012010
svn-id: r48362
Diffstat (limited to 'backends/platform/linuxmoto')
-rw-r--r-- | backends/platform/linuxmoto/linuxmoto-events.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-events.cpp b/backends/platform/linuxmoto/linuxmoto-events.cpp index 4bb3568ebd..379e34b7ac 100644 --- a/backends/platform/linuxmoto/linuxmoto-events.cpp +++ b/backends/platform/linuxmoto/linuxmoto-events.cpp @@ -116,11 +116,19 @@ bool OSystem_LINUXMOTO::remapKey(SDL_Event &ev, Common::Event &event) { #endif #ifdef MOTOMAGX - // Quit on cancel - if (ev.key.keysym.sym == SDLK_F12) { + // Quit on Clr + if (ev.key.keysym.sym == SDLK_BACKSPACE) { event.type = Common::EVENT_QUIT; return true; } + // Game Menu - Left Soft key + else if (ev.key.keysym.sym == SDLK_F9) { + ev.key.keysym.sym = SDLK_F5; + } + // VirtualKeyboard - Right Soft key + else if (ev.key.keysym.sym == SDLK_F11) { + ev.key.keysym.sym = SDLK_F7; + } #endif // Joystick to Mouse |