mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
- neutrino: use RC_tv/radio to toggle infoviewer/epg; ARM/MIPS_HARDWARE only
Conflicts: src/gui/epgview.cpp src/gui/infoviewer.cpp
This commit is contained in:
@@ -1322,6 +1322,10 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
show(channel_id, id, &startzeit, false, call_fromfollowlist);
|
||||
showPos=0;
|
||||
break;
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
case CRCInput::CRCInput::RC_tv:
|
||||
case CRCInput::CRCInput::RC_radio:
|
||||
#endif
|
||||
case CRCInput::RC_help:
|
||||
case CRCInput::RC_ok:
|
||||
case CRCInput::RC_timeout:
|
||||
|
@@ -1131,6 +1131,11 @@ void CInfoViewer::loop(bool show_dot)
|
||||
} else if (msg == CRCInput::RC_help || 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;
|
||||
|
Reference in New Issue
Block a user