home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
cprog
/
actlib12.zip
/
KEY.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-14
|
3KB
|
141 lines
/*
* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be)
*
* File : key.h
*
* Description : key code definitions.
*
*/
#ifndef __Key_H
#define __Key_H
#define RETURN 0x0d
#define ENTER RETURN
#define SPACE 0x20
#define ESC 0x1b
#define BKSP 0x08
#define BACKSPACE 0x08
#define CTRL_C 0x03
#define UP 328
#define DOWN 336
#define LEFT 331
#define RIGHT 333
#define PGUP 329
#define PGDN 337
#define HOME 327
#define END 335
#define INSERT 338
#define INS INSERT
#define DELETE 339
#define DEL DELETE
#define F1 315
#define F2 316
#define F3 317
#define F4 318
#define F5 319
#define F6 320
#define F7 321
#define F8 322
#define F9 323
#define F10 324
/*
#define INS 0x5200
#define DEL 0x5300
#define UP 0x4800
#define DOWN 0x5000
#define LEFT 0x4b00
#define RIGHT 0x4d00
#define HOME 0x4700
#define END 0x4f00
#define PGUP 0x4900
#define PGDN 0x5100
#define F1 0x3b00
#define F2 0x3c00
#define F3 0x3d00
#define F4 0x3e00
#define F5 0x3f00
#define F6 0x4000
#define F7 0x4100
#define F8 0x4200
#define F9 0x4300
#define F10 0x4400
#define F11 0x8500
#define F12 0x8600
#define ALT_INS 0x5200
#define ALT_DEL 0x5300
#define ALT_UP 0x4800
#define ALT_DOWN 0x5000
#define ALT_LEFT 0x4b00
#define ALT_RIGHT 0x4d00
#define ALT_HOME 0x4700
#define ALT_END 0x4f00
#define ALT_PGUP 0x4900
#define ALT_PGDN 0x5100
#define ALT_F1 0x6800
#define ALT_F2 0x6900
#define ALT_F3 0x6a00
#define ALT_F4 0x6b00
#define ALT_F5 0x6c00
#define ALT_F6 0x6d00
#define ALT_F7 0x6e00
#define ALT_F8 0x6f00
#define ALT_F9 0x7000
#define ALT_F10 0x7100
#define ALT_F11 0x7100
#define ALT_F12 0x7100
#define CTRL_INS 0x5200
#define CTRL_DEL 0x5300
#define CTRL_UP 0x4800
#define CTRL_DOWN 0x5000
#define CTRL_LEFT 0x4b00
#define CTRL_RIGHT 0x4d00
#define CTRL_HOME 0x4700
#define CTRL_END 0x4f00
#define CTRL_PGUP 0x4900
#define CTRL_PGDN 0x5100
#define CTRL_F1 0x5e00
#define CTRL_F2 0x5f00
#define CTRL_F3 0x6000
#define CTRL_F4 0x6100
#define CTRL_F5 0x6200
#define CTRL_F6 0x6300
#define CTRL_F7 0x6400
#define CTRL_F8 0x6500
#define CTRL_F9 0x6600
#define CTRL_F10 0x6700
#define CTRL_F11 0x8900
#define CTRL_F12 0x8a00
#define SHIFT_INS 0x5200
#define SHIFT_DEL 0x5300
#define SHIFT_UP 0x4800
#define SHIFT_DOWN 0x5000
#define SHIFT_LEFT 0x4b00
#define SHIFT_RIGHT 0x4d00
#define SHIFT_HOME 0x4700
#define SHIFT_END 0x4f00
#define SHIFT_PGUP 0x4900
#define SHIFT_PGDN 0x5100
#define SHIFT_F1 0x5400
#define SHIFT_F2 0x5500
#define SHIFT_F3 0x5600
#define SHIFT_F4 0x5700
#define SHIFT_F5 0x5800
#define SHIFT_F6 0x5900
#define SHIFT_F7 0x5a00
#define SHIFT_F8 0x5b00
#define SHIFT_F9 0x5c00
#define SHIFT_F10 0x5d00
#define SHIFT_F11 0x5d00
#define SHIFT_F12 0x5d00
*/
#endif