home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / animutil / fastgfx / fg303e / expas.arj / FGDOC / EXAMPLES / PASCAL / 14-11.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1993-09-30  |  287 b   |  15 lines

  1. program main;
  2. uses fgmain, fgmisc;
  3.  
  4. begin
  5.   if (fg_initjoy(1) < 0) then
  6.     writeln('Joystick 1 not available.')
  7.   else
  8.     writeln('Joystick 1 found.');
  9.  
  10.   if (fg_initjoy(2) < 0) then
  11.     writeln('Joystick 2 not available.')
  12.   else
  13.     writeln('Joystick 2 found.');
  14. end.
  15.