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

@@ -1184,9 +1184,14 @@ void CInfoViewer::loop(bool show_dot)
} else if (CNeutrinoApp::getInstance()->listModeKey(msg)) {
g_RCInput->postMsg (msg, 0);
res = messages_return::cancel_info;
} else if (msg == CRCInput::RC_info) { //NI
} else if (msg == CRCInput::RC_info) {
g_RCInput->postMsg(NeutrinoMessages::SHOW_EPG, 0);
res = messages_return::cancel_info;
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
} else if (msg == CRCInput::RC_tv || msg == CRCInput::RC_radio) {
g_RCInput->postMsg(NeutrinoMessages::SHOW_EPG, 0);
res = messages_return::cancel_info;
#endif
} else if ((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) {
if(fader.FadeDone())
res = messages_return::cancel_info;