File:  [CSRG BSD Unix] / 43BSDTahoe / new / X / xperfmon / input.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

#ifndef lint
static char *rcsid_input_c = "$Header: /var/lib/cvsd/repos/CSRG/43BSDTahoe/new/X/xperfmon/input.c,v 1.1.1.1 2018/04/24 16:12:58 root Exp $";
#endif	lint

/* input.c */

#include <X/Xlib.h>

extern KeyMapEntry StdMap[];

mapkey (keycode)
register int keycode;
{
	short c;

	c = StdMap[keycode & ValueMask][KeyState(keycode)];
	if ((keycode & ShiftLockMask) && c >= 'a' && c <= 'z')
		c += 'A' - 'a';
	return(c);
}

unix.superglobalmegacorp.com

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