home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
dskutl
/
wd.arc
/
IBMKEYS.H
< prev
next >
Wrap
Text File
|
1987-08-07
|
3KB
|
117 lines
/* ibmkeys.h
*
* Define Utility Keys for IBM PC.
*
* The Greenleaf Functions - Copyright (C) 1983,84,85 Greenleaf Software Inc.
*
* This file defines one way to use the control and alternate keys, plus
* some CTRL keys which are useful.
*
* An effort was made to preserve alphanumeric ALTternates in an ASCII
* representation with bit 7 set (i.e. 80h + the code).
*
* Function Keys are defined for: Unshifted (F1..F10), Shifted (SF1..SF10),
* Ctrl-Shifted (CF1..CF10), and Alt-Shifted (AF1..AF10).
*
* The remaining keys are self explanatory.
*/
#define F1 0x80
#define F2 0x81
#define F3 0x82
#define F4 0x83
#define F5 0x84
#define F6 0x85
#define F7 0x86
#define F8 0x87
#define F9 0x88
#define F10 0x89
#define SF1 0x90
#define SF2 0x91
#define SF3 0x92
#define SF4 0x93
#define SF5 0x94
#define SF6 0x95
#define SF7 0x96
#define SF8 0x97
#define SF9 0x98
#define SF10 0x99
#define CF1 0xA0
#define CF2 0xA1
#define CF3 0xA2
#define CF4 0xA3
#define CF5 0xA4
#define CF6 0xA5
#define CF7 0xA6
#define CF8 0xA7
#define CF9 0xA8
#define CF10 0xA9
#define AF1 0xE0
#define AF2 0xE1
#define AF3 0xE2
#define AF4 0xE3
#define AF5 0xE4
#define AF6 0xE5
#define AF7 0xE6
#define AF8 0xE7
#define AF9 0xE8
#define AF10 0xE9
#define ESC 0x1B /* Escape */
#define HOME 0x8A /* HOME key */
#define CURLF 0x8B /* <- */
#define ENDKEY 0x8C /* END key */
#define CURUP 0x8D /* up arrow */
#define CURDN 0x8E /* down arrow */
#define PGUP 0x9A /* PgUp */
#define CURRT 0x9B /* -> */
#define PGDN 0x9C /* PgDn */
#define INSERT 0x9D /* Ins */
#define DELETE 0x9E /* Del */
#define BK_SP 0x08 /* back spase */
#define CRG_RTN 0x0D /* carige return*/
#define CTRLHOME 0xAA /* Ctrl Home */
#define CTRLCURLF 0xAB /* Ctrl <- */
#define CTRLEND 0xAC /* Ctrl End */
#define CTRLPRTSC 0xAE /* Ctrl PrtSc */
#define CTRLPGUP 0xBA /* Ctrl PgUp */
#define CTRLCURRT 0xBB /* Ctrl -> */
#define CTRLPGDN 0xBC /* Ctrl PgDn */
#define REVTAB 0x8F /* Shift Tab */
#define ALTMINUS 0xBD /* Alt - */
#define ALTEQUAL 0xBE /* Alt = */
#define ALTA 0xC1
#define ALTB 0xC2
#define ALTC 0xC3
#define ALTD 0xC4
#define ALTE 0xC5
#define ALTF 0xC6
#define ALTG 0xC7
#define ALTH 0xC8
#define ALTI 0xC9
#define ALTJ 0xCA
#define ALTK 0xCB
#define ALTL 0xCC
#define ALTM 0xCD
#define ALTN 0xCE
#define ALTO 0xCF
#define ALTP 0xD0
#define ALTQ 0xD1
#define ALTR 0xD2
#define ALTS 0xD3
#define ALTT 0xD4
#define ALTU 0xD5
#define ALTV 0xD6
#define ALTW 0xD7
#define ALTX 0xD8
#define ALTY 0xD9
#define ALTZ 0xDA
#define CTRLBREAK 0 /* for when breakchk(ON) */
/* end of ibmkeys.h
*/