mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
Merge branch 'master' of https://github.com/neutrino-mp/neutrino-mp into ni/mp/tuxbox
Conflicts:
acinclude.m4
lib/hardware/coolstream/hardware_caps.cpp
src/Makefile.am
src/driver/screenshot.cpp
src/gui/epgplus.cpp
src/gui/scan_setup.cpp
src/neutrino.cpp
src/zapit/src/frontend.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: bb00f9f2e8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-25 (Fri, 25 Aug 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1684,9 +1684,14 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
|
||||
|
||||
std::string CRCInput::getKeyName(const unsigned int key)
|
||||
{
|
||||
std::string res(getKeyNameC(key & ~RC_Repeat));
|
||||
if ((key & RC_Repeat) && res != "unknown")
|
||||
res += " (long)";
|
||||
std::string res;
|
||||
if (key > RC_MaxRC)
|
||||
res = getKeyNameC(key); /* will only resolve RC_nokey or "unknown" */
|
||||
else {
|
||||
res = (getKeyNameC(key & ~RC_Repeat));
|
||||
if ((key & RC_Repeat) && res != "unknown")
|
||||
res += " (long)";
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -1719,6 +1724,10 @@ int CRCInput::translate(int code)
|
||||
return RC_record;
|
||||
case KEY_PLAY:
|
||||
return RC_pause;
|
||||
case KEY_CHANNELUP:
|
||||
return RC_page_up;
|
||||
case KEY_CHANNELDOWN:
|
||||
return RC_page_down;
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user