From: Chris Tallon Date: Mon, 2 Jun 2008 20:48:27 +0000 (+0000) Subject: Old remote up/down behaviour fix X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=2fddda71955add9ad349355118b002c69b1ee892;p=vompclient-marten.git Old remote up/down behaviour fix --- diff --git a/vvideolivetv.cc b/vvideolivetv.cc index 8e6d4b4..358b3cd 100644 --- a/vvideolivetv.cc +++ b/vvideolivetv.cc @@ -308,12 +308,24 @@ int VVideoLiveTV::handleCommand(int command) return 2; } case Remote::DF_UP: + { + // Old remote, decide what to do based on whether the osd is showing + if (osd.getVisible()) doUpDown(false); + else doChanUpDown(UP); + return 2; + } + case Remote::DF_DOWN: + { + // Old remote, decide what to do based on whether the osd is showing + if (osd.getVisible()) doUpDown(true); + else doChanUpDown(DOWN); + return 2; + } case Remote::CHANNELUP: { doChanUpDown(UP); return 2; } - case Remote::DF_DOWN: case Remote::CHANNELDOWN: { doChanUpDown(DOWN);