home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 17
/
CD_ASCQ_17_101194.iso
/
dos
/
prg
/
cthugha5
/
cthu5src
/
zorilkey.h
< prev
Wrap
Text File
|
1994-08-19
|
5KB
|
235 lines
//
// Cthugha - Audio Seeded Image Processing
//
// Zaph, Digital Aasvogel Group, Torps Productions 1993-1994
//
/*
█▀ moles ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
█ ZORILKEY.H █
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
Incept : 28Aug92 moles
Mod:
───────────────────────────────────────────────────────────────────────
*/
extern int z_keypress(void);
/* Zoril Keys commands */
#define Z_NOKEY 0
#define Z_ESC 1
#define Z_NOISE_DN 2
#define Z_NOISE_UP 3
#define Z_SAMPLE_DN 4
#define Z_SAMPLE_UP 5
#define Z_WAVE 6
#define Z_FLAME 7
#define Z_PALETTE 8
#define Z_SPACE 9
#define Z_DISPLAY 10
#define Z_MASSAGE 11
#define Z_LOCK 12
#define Z_TABLE 13
#define Z_NEWWAVE 14
#define Z_STEREO 15
#define Z_TRANSLATE 16
#define Z_FFT 17
#define Z_OTHERKEY 250
#define Z_ADDINI 251
#define Z_CD 252
#define Z_HELP 253
#define Z_VERSION 254
#define Z_SCREEN_DUMP 255
/* Cursor Keys */
#define HOME 0x4700
#define END 0x4F00
#define LEFT 0x4B00
#define RIGHT 0x4D00
#define UP 0x4800
#define DOWN 0x5000
#define PGUP 0x4900
#define PGDN 0x5100
#define INS 0x5200
#define DEL 0x5300
#define TAB 0x0F09
#define BACKSPACE 0x0E08
#define ENTER 0x1C0D
#define ESC 0x011B
#define PRTSC 0x372A
#define GREYPLUS 0x4E2B
#define GREYMINUS 0x4A2D
/* CTRL Cursor keys */
#define CTRL_HOME 0x7700
#define CTRL_END 0x7500
#define CTRL_LEFT 0x7300
#define CTRL_RIGHT 0x7400
#define CTRL_PGUP 0x8400
#define CTRL_PGDN 0x7600
#define CTRL_BACKSPACE 0x0E7F
#define CTRL_PRTSC 0x7200
/* Shift Cursor keys */
#define SHFT_HOME 0x4737
#define SHFT_END 0x4F31
#define SHFT_LEFT 0x4B34
#define SHFT_RIGHT 0x4D36
#define SHFT_UP 0x4838
#define SHFT_DOWN 0x5032
#define SHFT_PGUP 0x4939
#define SHFT_PGDN 0x5133
#define SHFT_INS 0x5230
#define SHFT_DEL 0x532E
#define SHFT_TAB 0x0F00
/* Function Keys */
#define FN1 0x3B00
#define FN2 0x3C00
#define FN3 0x3D00
#define FN4 0x3E00
#define FN5 0x3F00
#define FN6 0x4000
#define FN7 0x4100
#define FN8 0x4200
#define FN9 0x4300
#define FN10 0x4400
/* Shift Function Keys */
#define SHFT_FN1 0x5400
#define SHFT_FN2 0x5500
#define SHFT_FN3 0x5600
#define SHFT_FN4 0x5700
#define SHFT_FN5 0x5800
#define SHFT_FN6 0x5900
#define SHFT_FN7 0x5A00
#define SHFT_FN8 0x5B00
#define SHFT_FN9 0x5C00
#define SHFT_FN10 0x5D00
/* CTRL Function Keys */
#define CTRL_FN1 0x5E00
#define CTRL_FN2 0x5F00
#define CTRL_FN3 0x6000
#define CTRL_FN4 0x6100
#define CTRL_FN5 0x6200
#define CTRL_FN6 0x6300
#define CTRL_FN7 0x6400
#define CTRL_FN8 0x6500
#define CTRL_FN9 0x6600
#define CTRL_FN10 0x6700
/* ALT Function Keys */
#define ALT_FN1 0x6800
#define ALT_FN2 0x6900
#define ALT_FN3 0x6A00
#define ALT_FN4 0x6B00
#define ALT_FN5 0x6C00
#define ALT_FN6 0x6D00
#define ALT_FN7 0x6E00
#define ALT_FN8 0x6F00
#define ALT_FN9 0x7000
#define ALT_FN10 0x7100
/* CTRL Alphabet */
#define CTRLC 0x2E03 /* 1.0 compatible */
#define CTRL_2 0x0300
#define CTRL_6 0x071E
#define CTRL_HYPHEN 0x0C1F
#define CTRL_BS 0x2B1C /* back slash */
#define CTRL_A 0x1E01
#define CTRL_B 0x3002
#define CTRL_C 0x2E03
#define CTRL_D 0x2004
#define CTRL_E 0x1205
#define CTRL_F 0x2106
#define CTRL_G 0x2207
#define CTRL_H 0x2308
#define CTRL_I 0x1709
#define CTRL_J 0x240A
#define CTRL_K 0x250B
#define CTRL_L 0x260C
#define CTRL_M 0x320D
#define CTRL_N 0x310E
#define CTRL_O 0x180F
#define CTRL_P 0x1910
#define CTRL_Q 0x1011
#define CTRL_R 0x1312
#define CTRL_S 0x1F13
#define CTRL_T 0x1414
#define CTRL_U 0x1615
#define CTRL_V 0x2F16
#define CTRL_W 0x1117
#define CTRL_X 0x2D18
#define CTRL_Y 0x1519
#define CTRL_Z 0x2C1A
/* ALT Alphabet */
#define ALT_1 0x7800
#define ALT_2 0x7900
#define ALT_3 0x7A00
#define ALT_4 0x7B00
#define ALT_5 0x7C00
#define ALT_6 0x7D00
#define ALT_7 0x7E00
#define ALT_8 0x7F00
#define ALT_9 0x8000
#define ALT_0 0x8100
#define ALT_HYPHEN 0x8200
#define ALT_EQUALS 0x8300
#define ALT_A 0x1E00
#define ALT_B 0x3000
#define ALT_C 0x2E00
#define ALT_D 0x2000
#define ALT_E 0x1200
#define ALT_F 0x2100
#define ALT_G 0x2200
#define ALT_H 0x2300
#define ALT_I 0x1700
#define ALT_J 0x2400
#define ALT_K 0x2500
#define ALT_L 0x2600
#define ALT_M 0x3200
#define ALT_N 0x3100
#define ALT_O 0x1800
#define ALT_P 0x1900
#define ALT_Q 0x1000
#define ALT_R 0x1300
#define ALT_S 0x1F00
#define ALT_T 0x1400
#define ALT_U 0x1600
#define ALT_V 0x2F00
#define ALT_W 0x1100
#define ALT_X 0x2D00
#define ALT_Y 0x1500
#define ALT_Z 0x2C00