home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Graphics / graphics-16000.iso / msdos / animutil / fastgfx / fg110c / 12-05.c < prev    next >
Text File  |  1992-01-30  |  273b  |  18 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_setmode(-1);
  11.    status = fg_mouseini();
  12.  
  13.    if (status < 0)
  14.       printf("Mouse not available.\n");
  15.    else
  16.       printf("%d button mouse found.\n",status);
  17. }
  18.