home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d3xx
/
d339
/
pcq.lha
/
PCQ
/
Include
/
ConsoleUtils.i
< prev
next >
Wrap
Text File
|
1990-03-19
|
929b
|
33 lines
{
ConsoleUtils.i
This file defines the console.devices functions, as well as
two functions used to initialize and close the device. Note that
there is another include file which defines KeyPressed, ReadKey,
AttachConsole, etc. I kept these two files seperate because I
think they would rarely be used together.
The source for the first two functions, which are written in
Pascal, are in RunTime/Extras. The source for the second two,
which are just stubs, is in RunTime/System.
}
{$I "Include/ExecIO.i"}
{$I "Include/InputEvent.i"}
var
ConsoleBase : Address;
ConsoleRequest : IOStdReq;
Procedure OpenConsoleDevice;
External;
Procedure CloseConsoleDevice;
External;
Function RawKeyConvert(event : InputEventPtr; Buffer : String;
Length : Integer; KeyMap : Address) : Integer;
External;
Function CDInputHandler(events : InputEventPtr; con : Address) : InputEventPtr;
External;