Permalink
Browse files

added page up/down keycodes for presentation remote controls

  • Loading branch information...
1 parent 1ae8ca6 commit e5d49947439acc8639085268b0934977ff227dd0 @robflaherty committed May 24, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/htmlSlides.js
View
@@ -161,13 +161,15 @@ var htmlSlides = {
//Keyboard controls
keyControls: function(event) {
switch(event.keyCode) {
- //Left and up keys
+ //Left, up, and page up keys
+ case 33:
case 37:
case 38:
this.prevSlide();
break;
- //Right, down, and spacebar keys
+ //Right, down, spacebar, and page down keys
case 32:
+ case 34:
case 39:
case 40:
this.showActions();

0 comments on commit e5d4994

Please sign in to comment.