浏览代码

add Logitech presenter tools "black screen" button compatibility

Olivier Philippon 12 年之前
父节点
当前提交
c0387fd5dd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      js/reveal.js

+ 2 - 2
js/reveal.js

@@ -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: