mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
neutrino: press tv/radio key to return to plain tv/radio
Origin commit data
------------------
Branch: ni/coolstream
Commit: 736343d35b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)
Origin message was:
------------------
- neutrino: press tv/radio key to return to plain tv/radio
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2795,6 +2795,11 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
g_RCInput->postMsg(NeutrinoMessages::SHUTDOWN, 0);
|
||||
return messages_return::cancel_all | messages_return::handled;
|
||||
}
|
||||
else if ((msg == CRCInput::RC_tv) || (msg == CRCInput::RC_radio)) {
|
||||
if (data == 0)
|
||||
g_RCInput->postMsg(NeutrinoMessages::LEAVE_ALL, 0);
|
||||
return messages_return::cancel_all | messages_return::handled;
|
||||
}
|
||||
else if (msg == (neutrino_msg_t) g_settings.key_power_off /*CRCInput::RC_standby*/) {
|
||||
if (data == 0) {
|
||||
neutrino_msg_t new_msg;
|
||||
@@ -3153,6 +3158,10 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
g_RCInput->clearRCMsg();
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if( msg == NeutrinoMessages::LEAVE_ALL ) {
|
||||
g_RCInput->clearRCMsg();
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if( msg == NeutrinoMessages::STANDBY_ON ) {
|
||||
if( mode != mode_standby ) {
|
||||
standbyMode( true );
|
||||
|
Reference in New Issue
Block a user