home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / include / jssrvr.h < prev    next >
C/C++ Source or Header  |  1995-05-08  |  427b  |  26 lines

  1. // ---------- jssrvr.h
  2.  
  3. #ifndef  JSSRVR_H
  4. #define  JSSRVR_H
  5.  
  6. #include "server.h"
  7.  
  8. class JoystickServer : public Server  {
  9.   friend class Theatrix;
  10.   int dz;
  11.   int xadj, yadj;
  12.   int cx, cy;
  13.   int lx, ty;
  14.   int rx, by;
  15.   int joystick_supported;
  16.   void startup();
  17.   int setting(int *x, int *y);
  18.   void calibrate(char *pos, int *x, int *y);
  19. public:        
  20.   JoystickServer();
  21.   void check(Folder&);
  22. };
  23.  
  24. #endif
  25.  
  26.