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 58300e3..15ead44 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;