Annotation of 43BSDTahoe/new/X/xperfmon/input.c, revision 1.1

1.1     ! root        1: #ifndef lint
        !             2: static char *rcsid_input_c = "$Header: input.c,v 10.2 86/02/01 16:02:55 tony Rel $";
        !             3: #endif lint
        !             4: 
        !             5: /* input.c */
        !             6: 
        !             7: #include <X/Xlib.h>
        !             8: 
        !             9: extern KeyMapEntry StdMap[];
        !            10: 
        !            11: mapkey (keycode)
        !            12: register int keycode;
        !            13: {
        !            14:        short c;
        !            15: 
        !            16:        c = StdMap[keycode & ValueMask][KeyState(keycode)];
        !            17:        if ((keycode & ShiftLockMask) && c >= 'a' && c <= 'z')
        !            18:                c += 'A' - 'a';
        !            19:        return(c);
        !            20: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.