diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-03-19 18:54:34 -0700 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-03-19 18:54:34 -0700 |
commit | cd66a6574d3d1a1d56420a8669077c86e163a8ae (patch) | |
tree | cc329d9960fc977767029fdc84d5b27f03136af7 | |
parent | a77842521e003af8b5f46ff8a34857031221a5e8 (diff) | |
parent | b6030d5c7a83436e333719700f64909569c97062 (diff) | |
download | perl-software-in-gnu-guix-cd66a6574d3d1a1d56420a8669077c86e163a8ae.tar perl-software-in-gnu-guix-cd66a6574d3d1a1d56420a8669077c86e163a8ae.tar.gz |
Merge pull request #21 from archive/master
Added support for wireless presenter
-rw-r--r-- | js/reveal.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index 94fcf37..736545c 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -181,9 +181,11 @@ var Reveal = (function(){ // instead of checking contentEditable? if( event.target.contentEditable === 'inherit' ) { - if( event.keyCode >= 37 && event.keyCode <= 40 ) { + if( event.keyCode >= 33 && event.keyCode <= 40 ) { switch( event.keyCode ) { + case 33: navigateLeft(); break; // left for wireless presenter + case 34: navigateRight(); break; // right for wireless presenter case 37: navigateLeft(); break; // left case 39: navigateRight(); break; // right case 38: navigateUp(); break; // up |