home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
expas.arj
/
TEMP
/
14-11.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-01-20
|
301b
|
16 lines
program main;
uses fgmain, fgmisc;
begin
fg_initpm;
if (fg_initjoy(1) < 0) then
writeln('Joystick 1 not available.')
else
writeln('Joystick 1 found.');
if (fg_initjoy(2) < 0) then
writeln('Joystick 2 not available.')
else
writeln('Joystick 2 found.');
end.