mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user