From 09cdfac8c4e3ec7b0780292c0403a2de384bb95d Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Mon, 16 Nov 2009 21:13:21 +0000 Subject: samsungtv: remap keycode, main tv software tell with SDLK_POWER to imediately quit sdl app svn-id: r45939 --- backends/platform/samsungtv/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform') 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) { -- cgit v1.2.3