Add support for Logitech USB remote presenter (powerpoint shortcuts).
parent
b36909615c
commit
1f8cc28431
|
@ -55,6 +55,10 @@ show:
|
||||||
again:
|
again:
|
||||||
c = getch();
|
c = getch();
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
/* powerpoint remote presenter shortcuts */
|
||||||
|
case 27:
|
||||||
|
case KEY_F(5):
|
||||||
|
/* end presentation */
|
||||||
case 'q':
|
case 'q':
|
||||||
break;
|
break;
|
||||||
/* next */
|
/* next */
|
||||||
|
@ -79,6 +83,8 @@ again:
|
||||||
goto show;
|
goto show;
|
||||||
}
|
}
|
||||||
goto again;
|
goto again;
|
||||||
|
/* shortcut from powerpoint. Needed for remote presenters. */
|
||||||
|
case '.':
|
||||||
/* first */
|
/* first */
|
||||||
case 'u':
|
case 'u':
|
||||||
case KEY_BEG:
|
case KEY_BEG:
|
||||||
|
@ -91,6 +97,7 @@ again:
|
||||||
i = argc - 1;
|
i = argc - 1;
|
||||||
goto show;
|
goto show;
|
||||||
default:
|
default:
|
||||||
|
/* printf("key pressed = '%d'\n", c); */
|
||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue