From 0d5d84d104149737df657ff0e4cc6ad9705cb07f Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 30 Apr 2018 16:56:40 +0200 Subject: [PATCH] do some more stuff with keys --- linuxwochen2018/slides.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } } -- 2.43.0