neutrino: use RC_tv/radio to toggle infoviewer/epg; ARM/MIPS_HARDWARE only

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5e8a1d0233
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-12-09 (Mon, 09 Dec 2019)

Origin message was:
------------------
- neutrino: use RC_tv/radio to toggle infoviewer/epg; ARM/MIPS_HARDWARE only

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-12-09 21:55:47 +01:00
parent f91f78daf8
commit bf1412a5c5
3 changed files with 15 additions and 2 deletions

View File

@@ -3269,16 +3269,20 @@ void CNeutrinoApp::RealRun()
StartSubtitles();
}
else if (((msg == CRCInput::RC_tv) || (msg == CRCInput::RC_radio)) && (g_settings.key_tvradio_mode == (int)CRCInput::RC_nokey)) {
#if HAVE_ARM_HARDWARE
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
if (msg == CRCInput::RC_tv)
{
if (mode == NeutrinoModes::mode_radio || mode == NeutrinoModes::mode_webradio)
tvMode();
else if (!g_InfoViewer->is_visible)
g_RCInput->postMsg(NeutrinoMessages::SHOW_INFOBAR, 0);
}
else if (msg == CRCInput::RC_radio)
{
if (mode == NeutrinoModes::mode_tv || mode == NeutrinoModes::mode_webtv)
radioMode();
else if (!g_InfoViewer->is_visible)
g_RCInput->postMsg(NeutrinoMessages::SHOW_INFOBAR, 0);
}
else
#endif