neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii

This commit is contained in:
[CST] Focus
2014-09-05 17:49:11 +04:00
parent f07e81c4b9
commit 420af7a4dc
45 changed files with 1767 additions and 1144 deletions

View File

@@ -136,6 +136,8 @@ int CMotorControl::exec(CMenuTarget* parent, const std::string &)
TP.feparams.symbol_rate = atoi(scansettings.sat_TP_rate.c_str());
TP.feparams.fec_inner = (fe_code_rate_t)scansettings.sat_TP_fec;
TP.feparams.polarization = scansettings.sat_TP_pol;
TP.feparams.delsys = (delivery_system_t) scansettings.sat_TP_delsys;
TP.feparams.modulation = (fe_modulation_t) scansettings.sat_TP_mod;
g_Zapit->tune_TP(TP);
@@ -167,6 +169,11 @@ int CMotorControl::exec(CMenuTarget* parent, const std::string &)
} else
wasgrow = 0;
if (msg == (neutrino_msg_t)g_settings.key_volumeup)
msg = CRCInput::RC_plus;
else if (msg == (neutrino_msg_t)g_settings.key_volumedown)
msg = CRCInput::RC_minus;
if (msg == CRCInput::RC_ok || msg == CRCInput::RC_0) {
printf("[motorcontrol] 0 key received... goto %s\n", installerMenue ? "userMenue" : "installerMenue");
if (installerMenue)