From 75380e04a975ff88ead03c02c2f2a9cac35dd726 Mon Sep 17 00:00:00 2001 From: Mahemoff Date: Fri, 27 Apr 2012 15:16:27 +0100 Subject: [PATCH] p for previous, n for next --- js/reveal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2