Add support for Logitech USB remote presenter (powerpoint shortcuts).

master
Christoph Lohmann 2017-03-04 16:49:33 +01:00
parent b36909615c
commit 1f8cc28431
1 changed files with 7 additions and 0 deletions

View File

@ -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;
}