Add support for Logitech USB remote presenter (powerpoint shortcuts). - catpoint - Catpoint simple presenting software.
 (HTM) git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1f8cc2843103a71cd180b685e92c4bb1bbe61c81
 (DIR) parent b36909615c3b554e77f843a493fda1ef6935a93b
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sat,  4 Mar 2017 16:49:33 +0100
       
       Add support for Logitech USB remote presenter (powerpoint shortcuts).
       
       Diffstat:
         M catpoint.c                          |       7 +++++++
       
       1 file changed, 7 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git 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;
                }