p for previous, n for next
authorMahemoff <michael@mahemoff.com>
Fri, 27 Apr 2012 14:16:27 +0000 (15:16 +0100)
committerMahemoff <michael@mahemoff.com>
Fri, 27 Apr 2012 14:16:27 +0000 (15:16 +0100)
js/reveal.js

index 835c2a35f1bb3183d0a1f041ee9b39f20993a0a1..7300ef70ca3679ca9bd6d3ab4f402b639d921fe4 100644 (file)
@@ -160,8 +160,8 @@ var Reveal = (function(){
                                
                var triggered = false;
                switch( event.keyCode ) {
-                       case 33: navigatePrev(); triggered = true; break; // prev for wireless presenter (PgUp)
-                       case 32: case 34: navigateNext(); triggered = true; break; // next for wireless presenter (PgDn, Space)
+                       case 80: case 33: navigatePrev(); triggered = true; break; // prev for wireless presenter (PgUp)
+                       case 78: case 32: case 34: navigateNext(); triggered = true; break; // next for wireless presenter (PgDn, Space)
                        case 72: case 37: navigateLeft(); triggered = true; break; // h, left
                        case 76: case 39: navigateRight(); triggered = true; break; // l, right
                        case 75: case 38: navigateUp(); triggered = true; break; // k, up