add support for 8bitdo Zero keys
authorRobert Kaiser <kairo@kairo.at>
Tue, 29 Aug 2017 15:15:49 +0000 (17:15 +0200)
committerRobert Kaiser <kairo@kairo.at>
Tue, 29 Aug 2017 15:15:49 +0000 (17:15 +0200)
fosdem2017/slides.js

index 58300e30ae0b1f863406ddce333ae2b62ca55d2b..15ead44f11ece03dc0e5c7709c39785f62b43f78 100644 (file)
@@ -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;