aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto
diff options
context:
space:
mode:
authorMax Horn2010-03-22 23:04:55 +0000
committerMax Horn2010-03-22 23:04:55 +0000
commit6545e728b6b76e41d711858b209accfe9cc1f6da (patch)
tree59327c6347195e6a4371dd0cb2aa4d4bbdecd58c /backends/platform/linuxmoto
parentb104534d0d6342bf75d5eff8bd85847fc7e7f18f (diff)
downloadscummvm-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.cpp12
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