diff --git a/catpoint.c b/catpoint.c index ef208c0..cfb882b 100644 --- a/catpoint.c +++ b/catpoint.c @@ -55,6 +55,10 @@ show: again: c = getch(); switch (c) { + /* powerpoint remote presenter shortcuts */ + case 27: + case KEY_F(5): + /* end presentation */ case 'q': break; /* next */ @@ -79,6 +83,8 @@ again: goto show; } goto again; + /* shortcut from powerpoint. Needed for remote presenters. */ + case '.': /* first */ case 'u': case KEY_BEG: @@ -91,6 +97,7 @@ again: i = argc - 1; goto show; default: + /* printf("key pressed = '%d'\n", c); */ goto again; }