add Logitech presenter tools "black screen" button compatibility
authorOlivier Philippon <olivier@dr-benton.com>
Fri, 18 Jan 2013 15:59:38 +0000 (16:59 +0100)
committerOlivier Philippon <olivier@dr-benton.com>
Fri, 18 Jan 2013 15:59:38 +0000 (16:59 +0100)
js/reveal.js

index c33128d33cf1b33d85c5026d318e181091592c29..f3c185c2c79ece05b51ffc72e09d24201d4527e3 100644 (file)
@@ -1383,8 +1383,8 @@ var Reveal = (function(){
                        case 32: isOverviewActive() ? deactivateOverview() : navigateNext(); break;
                        // return
                        case 13: isOverviewActive() ? deactivateOverview() : triggered = false; break;
-                       // b, period
-                       case 66: case 190: togglePause(); break;
+                       // b, period, Logitech presenter tools "black screen" button
+                       case 66: case 190: case 191: togglePause(); break;
                        // f
                        case 70: enterFullscreen(); break;
                        default: