diff options
author | Paweł Kołodziejski | 2009-11-16 21:13:21 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2009-11-16 21:13:21 +0000 |
commit | 09cdfac8c4e3ec7b0780292c0403a2de384bb95d (patch) | |
tree | 4ce4d9592f14b371f431e502fcf185408bfd5c9d /backends/platform/samsungtv/events.cpp | |
parent | 4d8ae559edb9fcdfcbf0ac2b630d5c051c120ae0 (diff) | |
download | scummvm-rg350-09cdfac8c4e3ec7b0780292c0403a2de384bb95d.tar.gz scummvm-rg350-09cdfac8c4e3ec7b0780292c0403a2de384bb95d.tar.bz2 scummvm-rg350-09cdfac8c4e3ec7b0780292c0403a2de384bb95d.zip |
samsungtv: remap keycode, main tv software tell with SDLK_POWER to imediately quit sdl app
svn-id: r45939
Diffstat (limited to 'backends/platform/samsungtv/events.cpp')
-rw-r--r-- | backends/platform/samsungtv/events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/samsungtv/events.cpp b/backends/platform/samsungtv/events.cpp index aa9198bdd6..ad0775e726 100644 --- a/backends/platform/samsungtv/events.cpp +++ b/backends/platform/samsungtv/events.cpp @@ -166,7 +166,7 @@ bool OSystem_SDL_SamsungTV::remapKey(SDL_Event &ev, Common::Event &event) { event.type = Common::EVENT_RBUTTONDOWN; fillMouseEvent(event, _km.x, _km.y); return true; - } else if (ev.key.keysym.sym == SDLK_HOME) { + } else if (ev.key.keysym.sym == SDLK_POWER) { event.type = Common::EVENT_QUIT; return true; } else if (ev.key.keysym.sym == SDLK_F2) { @@ -199,7 +199,7 @@ bool OSystem_SDL_SamsungTV::remapKey(SDL_Event &ev, Common::Event &event) { event.type = Common::EVENT_RBUTTONUP; fillMouseEvent(event, _km.x, _km.y); return true; - } else if (ev.key.keysym.sym == SDLK_HOME) { + } else if (ev.key.keysym.sym == SDLK_POWER) { event.type = Common::EVENT_QUIT; return true; } else if (ev.key.keysym.sym == SDLK_F2) { |