From: Robert Kaiser Date: Tue, 29 Aug 2017 15:15:49 +0000 (+0200) Subject: add support for 8bitdo Zero keys X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=da7ec9b79379058e3e55a05f1c19f63be6853509;p=slides.git add support for 8bitdo Zero keys --- diff --git a/fosdem2017/slides.js b/fosdem2017/slides.js index 58300e3..15ead44 100644 --- a/fosdem2017/slides.js +++ b/fosdem2017/slides.js @@ -193,10 +193,12 @@ setTimeout("timerFired()", timerMSec); case e.DOM_VK_LEFT: case e.DOM_VK_DOWN: case e.DOM_VK_PAGE_DOWN: + case e.DOM_VK_H: //8bitdo Zero "X" go("prev"); break; case e.DOM_VK_RIGHT: case e.DOM_VK_UP: case e.DOM_VK_PAGE_UP: + case e.DOM_VK_J: //8bitdo Zero "B" go("next"); break; case e.DOM_VK_HOME: go("start"); break;