mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
samsungtv: remap keycode, main tv software tell with SDLK_POWER to imediately quit sdl app
svn-id: r45939
This commit is contained in:
parent
4d8ae559ed
commit
09cdfac8c4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user