home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / fgl / fglight / exc.arj / TEMP / 14-06.C < prev    next >
Text File  |  1995-01-20  |  290b  |  19 lines

  1. #include <fastgraf.h>
  2. #include <stdio.h>
  3.  
  4. void main(void);
  5.  
  6. void main()
  7. {
  8.    int status;
  9.  
  10.    fg_initpm();
  11.    fg_setmode(-1);
  12.    status = fg_mouseini();
  13.  
  14.    if (status < 0)
  15.       printf("Mouse not available.\n");
  16.    else
  17.       printf("%d button mouse found.\n",status);
  18. }
  19.