mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Merge remote-tracking branch 'check/cst-next'
needs build- and functional fixes Conflicts: configure.ac data/icons/shutdown.jpg data/icons/start.jpg data/locale/deutsch.locale data/locale/english.locale lib/libmd5sum/md5.c src/driver/scanepg.cpp src/driver/streamts.cpp src/driver/vfd.cpp src/driver/vfd.h src/driver/volume.cpp src/eitd/dmx.cpp src/eitd/xmlutil.cpp src/gui/Makefile.am src/gui/audiomute.cpp src/gui/channellist.cpp src/gui/dboxinfo.cpp src/gui/epgview.cpp src/gui/eventlist.cpp src/gui/filebrowser.cpp src/gui/hdd_menu.cpp src/gui/infoviewer.cpp src/gui/infoviewer_bb.cpp src/gui/infoviewer_bb.h src/gui/keybind_setup.cpp src/gui/luainstance.cpp src/gui/luainstance.h src/gui/miscsettings_menu.cpp src/gui/moviebrowser.cpp src/gui/movieplayer.cpp src/gui/osd_progressbar_setup.cpp src/gui/osd_progressbar_setup.h src/gui/osd_setup.cpp src/gui/osdlang_setup.cpp src/gui/personalize.cpp src/gui/plugins.cpp src/gui/plugins.h src/gui/scan.cpp src/gui/scan_setup.cpp src/gui/update_settings.cpp src/gui/user_menue.cpp src/gui/user_menue_setup.cpp src/gui/videosettings.cpp src/gui/widget/buttons.cpp src/gui/widget/menue.cpp src/gui/widget/menue.h src/gui/widget/progresswindow.cpp src/neutrino.cpp src/neutrino_menue.cpp src/nhttpd/yhttpd.cpp src/system/helpers.cpp src/system/locals.h src/system/locals_intern.h src/system/setting_helpers.cpp src/zapit/lib/zapitclient.cpp src/zapit/src/fastscan.cpp src/zapit/src/frontend.cpp src/zapit/src/getservices.cpp src/zapit/src/scan.cpp src/zapit/src/scannit.cpp src/zapit/src/scanpmt.cpp src/zapit/src/transponder.cpp src/zapit/src/zapit.cpp
This commit is contained in:
@@ -155,6 +155,7 @@ CRCInput::CRCInput()
|
||||
repeat_block = repeat_block_generic = 0;
|
||||
open();
|
||||
rc_last_key = KEY_MAX;
|
||||
firstKey = true;
|
||||
longPressEnd = 0;
|
||||
|
||||
//select and setup remote control hardware
|
||||
@@ -1001,10 +1002,6 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
||||
*msg = NeutrinoMessages::EVT_SCAN_REPORT_NUM_SCANNED_TRANSPONDERS;
|
||||
*data = *(unsigned*) p;
|
||||
break;
|
||||
case CZapitClient::EVT_SCAN_REPORT_FREQUENCY:
|
||||
*msg = NeutrinoMessages::EVT_SCAN_REPORT_FREQUENCY;
|
||||
*data = *(unsigned*) p;
|
||||
break;
|
||||
case CZapitClient::EVT_SCAN_FOUND_A_CHAN:
|
||||
*msg = NeutrinoMessages::EVT_SCAN_FOUND_A_CHAN;
|
||||
break;
|
||||
@@ -1085,6 +1082,10 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
||||
*msg = NeutrinoMessages::EVT_BACK_ZAP_COMPLETE;
|
||||
*data = (neutrino_msg_data_t) p;
|
||||
break;
|
||||
case CZapitClient::EVT_WEBTV_ZAP_COMPLETE:
|
||||
*msg = NeutrinoMessages::EVT_WEBTV_ZAP_COMPLETE;
|
||||
*data = (neutrino_msg_data_t) p;
|
||||
break;
|
||||
default:
|
||||
printf("[neutrino] event INITID_ZAPIT - unknown eventID 0x%x\n", emsg.eventID );
|
||||
}
|
||||
@@ -1254,6 +1255,11 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
||||
if (ev.type == EV_SYN)
|
||||
continue; /* ignore... */
|
||||
SHTDCNT::getInstance()->resetSleepTimer();
|
||||
if (firstKey) {
|
||||
firstKey = false;
|
||||
CTimerManager::getInstance()->cancelShutdownOnWakeup();
|
||||
}
|
||||
|
||||
uint32_t trkey = translate(ev.code);
|
||||
#ifdef _DEBUG
|
||||
printf("key: %04x value %d, translate: %04x -%s-\n", ev.code, ev.value, trkey, getKeyName(trkey).c_str());
|
||||
|
Reference in New Issue
Block a user