From 8078310f66e992bc68775d51ec2849f0428de092 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Sun, 19 May 2013 14:14:00 +0200 Subject: added keys from comhem & old kpn remote --- Manual.txt | 3 +++ index.html | 17 ++++++++++++++++- settings.js | 6 ++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/Manual.txt b/Manual.txt index 22c4124..3f21806 100644 --- a/Manual.txt +++ b/Manual.txt @@ -19,6 +19,9 @@ down - Channel - Left - Group - Right - Group + OK - Show OSD epg current channel +FAV - Guide view with mini TV window (comhem remote) +FILM - Jump directly to the recordings menu (comhem remote) +OPNAMES - Jump directly to the recordings menu (Old KPN remote) Play mode diff --git a/index.html b/index.html index 4f71a27..9c8aa02 100644 --- a/index.html +++ b/index.html @@ -355,6 +355,8 @@ function onKeyDown(event) { } else { switch(event.keyIdentifier) { + + case "ChannelUp": case "Up": if(isFullscreen) { count = 0; @@ -376,6 +378,7 @@ function onKeyDown(event) { preview(channels[currChan]); } break; + case "ChannelDown": case "Down": if(isFullscreen) { count = 0; @@ -652,6 +655,7 @@ function onKeyDown(event) { InitMenu(menu); } break; + case KEY_FAV: case "Scroll": if(isFullscreen) { NowNext = 0; @@ -819,7 +823,18 @@ function onKeyDown(event) { break; - + case KEY_OPNAMES: + case KEY_FILM: + // jump to recordings menu. + if(isFullscreen) { + osdepginfo.style.opacity = 0; + osdepginfonext.style.opacity = 0; + mediaList.style.opacity = 0.9; + mainmenu.style.opacity = 0; + recPath = "/recordings.xml"; + setTimeout("getRecList();LoadMediaSettings();",100); + } + break; default: break; } diff --git a/settings.js b/settings.js index 9985974..4b7f3a2 100644 --- a/settings.js +++ b/settings.js @@ -93,6 +93,12 @@ var KEY_7 = "U+0037"; var KEY_8 = "U+0038"; var KEY_9 = "U+0039"; var KEY_REC = "U+00bd"; +var KEY_FAV = "U+e0003"; // comhem +var KEY_FILM = "U+e0033"; // comhem +var KEY_HELP2 = "U+f0001"; // comhem +var KEY_OPNAMES = "U+0046"; // old kpn (vip1710/1760) +var KEY_HELP = "Info"; // old kpn (vip1710/1760) +var KEY_DIENSTEN = "Portal"; // old kpn (vip1710/1760) var eitCache = null; var events = null; -- cgit v1.2.3