Switchover remote control standard / neo1

- Redundant code removed, THX dbt for the tip.
- Bug in "remote control neo1" left / right keys fixed.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1781 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
micha-bbg
2011-10-28 21:26:54 +00:00
parent f9bac2a287
commit b265df5204
2 changed files with 14 additions and 14 deletions

View File

@@ -48,6 +48,7 @@
#include <neutrino.h>
#include <gui/infoviewer.h>
#include <gui/keybind_setup.h>
#include <gui/bouquetlist.h>
#include <gui/widget/icons.h>
#include <gui/widget/hintbox.h>
@@ -903,7 +904,8 @@ void CInfoViewer::loop(int fadeValue, bool show_dot ,bool fadeIn)
showIcon_16_9();
showIcon_Resolution();
} else if ( g_settings.virtual_zap_mode && ((msg == CRCInput::RC_right) || msg == CRCInput::RC_left )) {
} else if ((g_settings.remote_control_hardware != CKeybindSetup::REMOTECONTROL_NEO1) &&
( g_settings.virtual_zap_mode && ((msg == CRCInput::RC_right) || msg == CRCInput::RC_left ))) {
virtual_zap_mode = true;
res = messages_return::cancel_all;
hideIt = true;