neutrino: add more RC_playpause handling

Origin commit data
------------------
Commit: 764b25542f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-19 (Tue, 19 Dec 2017)

Origin message was:
------------------
- neutrino: add more RC_playpause handling
This commit is contained in:
vanhofen
2017-12-19 10:58:44 +01:00
parent 549cd072be
commit 9b5c4e7618
9 changed files with 62 additions and 30 deletions

View File

@@ -2340,7 +2340,7 @@ bool CMovieBrowser::onButtonPressBrowserList(neutrino_msg_t msg)
scrollBrowserItem(false, true);
else if (msg == (neutrino_msg_t)g_settings.key_pagedown)
scrollBrowserItem(true, true);
else if (msg == CRCInput::RC_play)
else if (msg == CRCInput::RC_play || msg == CRCInput::RC_playpause)
markItem(m_pcBrowser);
else
result = false;
@@ -2364,7 +2364,7 @@ bool CMovieBrowser::onButtonPressLastPlayList(neutrino_msg_t msg)
m_pcLastPlay->scrollPageUp(1);
else if (msg == (neutrino_msg_t)g_settings.key_pagedown)
m_pcLastPlay->scrollPageDown(1);
else if (msg == CRCInput::RC_play)
else if (msg == CRCInput::RC_play || msg == CRCInput::RC_playpause)
markItem(m_pcLastPlay);
else
result = false;
@@ -2388,7 +2388,7 @@ bool CMovieBrowser::onButtonPressLastRecordList(neutrino_msg_t msg)
m_pcLastRecord->scrollPageUp(1);
else if (msg == (neutrino_msg_t)g_settings.key_pagedown)
m_pcLastRecord->scrollPageDown(1);
else if (msg == CRCInput::RC_play)
else if (msg == CRCInput::RC_play || msg == CRCInput::RC_playpause)
markItem(m_pcLastRecord);
else
result = false;