aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-01-18 12:33:28 -0800
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-01-18 12:33:28 -0800
commit305e70d99ba4317f89fd93b9805ddf08b8fbdedb (patch)
treef153daa81d7944485347d6b73c482a7b21213606 /js
parent61457ce5436a79704dcaf1b280a5a4d28c66c8a1 (diff)
parent9c951e07cdf1f74571390eaff9b75941e17ba608 (diff)
downloadperl-software-in-gnu-guix-305e70d99ba4317f89fd93b9805ddf08b8fbdedb.tar
perl-software-in-gnu-guix-305e70d99ba4317f89fd93b9805ddf08b8fbdedb.tar.gz
Merge pull request #303 from DrBenton/master
Small additions around "togglePause()"
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index a77a880..c1a1dfc 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1398,8 +1398,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:
@@ -1627,6 +1627,9 @@ var Reveal = (function(){
// Toggles the overview mode on/off
toggleOverview: toggleOverview,
+ // Toggles the "black screen" mode on/off
+ togglePause: togglePause,
+
// Adds or removes all internal event listeners (such as keyboard)
addEventListeners: addEventListeners,
removeEventListeners: removeEventListeners,