added support for wireless presenter
This commit is contained in:
parent
a77842521e
commit
b6030d5c7a
@ -181,9 +181,11 @@ var Reveal = (function(){
|
|||||||
// instead of checking contentEditable?
|
// instead of checking contentEditable?
|
||||||
|
|
||||||
if( event.target.contentEditable === 'inherit' ) {
|
if( event.target.contentEditable === 'inherit' ) {
|
||||||
if( event.keyCode >= 37 && event.keyCode <= 40 ) {
|
if( event.keyCode >= 33 && event.keyCode <= 40 ) {
|
||||||
|
|
||||||
switch( event.keyCode ) {
|
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 37: navigateLeft(); break; // left
|
||||||
case 39: navigateRight(); break; // right
|
case 39: navigateRight(); break; // right
|
||||||
case 38: navigateUp(); break; // up
|
case 38: navigateUp(); break; // up
|
||||||
|
Loading…
Reference in New Issue
Block a user