From: Robert Kaiser Date: Mon, 30 Apr 2018 14:56:40 +0000 (+0200) Subject: do some more stuff with keys X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=0d5d84d104149737df657ff0e4cc6ad9705cb07f;p=slides.git do some more stuff with keys --- diff --git a/linuxwochen2018/slides.js b/linuxwochen2018/slides.js index 0064698..4153c42 100644 --- a/linuxwochen2018/slides.js +++ b/linuxwochen2018/slides.js @@ -199,6 +199,8 @@ function timerFired() { case "Left": // non-standard, old browsers case "Down": // non-standard, old browsers case "PageDown": + case "P": + case "p": case "H": //8bitdo Zero "X" case "h": //8bitdo Zero "X" go("prev"); break; @@ -207,12 +209,18 @@ function timerFired() { case "Right": // non-standard, old browsers case "Up": // non-standard, old browsers case "PageUp": + case "N": + case "n": case "J": //8bitdo Zero "B" case "j": //8bitdo Zero "B" go("next"); break; case "Home": + case "I": //8bitdo Zero "Y" + case "i": //8bitdo Zero "Y" go("start"); break; case "End": + case "G": //8bitdo Zero "A" + case "g": //8bitdo Zero "A" go("toc"); break; } }