From: Mahemoff Date: Fri, 27 Apr 2012 14:16:27 +0000 (+0100) Subject: p for previous, n for next X-Git-Tag: 1.3.0~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=75380e04a975ff88ead03c02c2f2a9cac35dd726;p=reveal.js.git p for previous, n for next --- diff --git a/js/reveal.js b/js/reveal.js index 835c2a3..7300ef7 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -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