- movieplayer: allow configurable RC_setup key

This commit is contained in:
svenhoefer
2016-01-02 14:14:41 +01:00
parent c617f764ab
commit fdf8bd4860

View File

@@ -987,8 +987,6 @@ void CMoviePlayerGui::PlayFileLoop(void)
repeat_mode = REPEAT_OFF; repeat_mode = REPEAT_OFF;
g_settings.movieplayer_repeat_on = repeat_mode; g_settings.movieplayer_repeat_on = repeat_mode;
callInfoViewer(); callInfoViewer();
} else if (msg == (neutrino_msg_t) CRCInput::RC_setup) {
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::SHOW_MAINMENU, 0);
} else if (msg == (neutrino_msg_t) g_settings.mpkey_play) { } else if (msg == (neutrino_msg_t) g_settings.mpkey_play) {
if (time_forced) { if (time_forced) {
time_forced = false; time_forced = false;
@@ -1181,6 +1179,8 @@ void CMoviePlayerGui::PlayFileLoop(void)
makeScreenShot(false, true); makeScreenShot(false, true);
} else if (msg == CRCInput::RC_sat) { } else if (msg == CRCInput::RC_sat) {
//FIXME do nothing ? //FIXME do nothing ?
} else if (msg == (neutrino_msg_t) CRCInput::RC_setup) {
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::SHOW_MAINMENU, 0);
} else if (msg == CRCInput::RC_red || msg == CRCInput::RC_green || msg == CRCInput::RC_yellow || msg == CRCInput::RC_blue ) { } else if (msg == CRCInput::RC_red || msg == CRCInput::RC_green || msg == CRCInput::RC_yellow || msg == CRCInput::RC_blue ) {
//maybe move FileTime.kill to Usermenu to simplify this call //maybe move FileTime.kill to Usermenu to simplify this call
bool restore = FileTime.IsVisible(); bool restore = FileTime.IsVisible();