home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / MOUSE / JOYSET.ZIP / JOYSET.DOC next >
Encoding:
Text File  |  1990-11-23  |  3.2 KB  |  83 lines

  1.  
  2.  
  3.                                     JOYSET
  4.  
  5.                           JoyStick Adjustment Utility
  6.  
  7.                                   Version 1.0
  8.                                  November 1990
  9.  
  10.  
  11.  
  12.                              Brought to you by...
  13.  
  14.                           The Computer Connection BBS
  15.                                 (301) 696-1393
  16.                                24 Hours / 7 Days
  17.                             US Robotics 1440 Modem
  18.  
  19.                               FREE ACCESS TO ALL
  20.  
  21.  
  22.  
  23.  
  24.  
  25.       Have you ever had a joystick with knobs you had to keep setting all
  26.       the time, so the joystick would be centered properly?  If so, this
  27.       program is for you!
  28.  
  29.       They always come with a little paper telling you how to type in a
  30.       BASIC program in GW-BASIC, and run the program to center the
  31.       joystick.  Most people do this once, then loose the program (or
  32.       don't save it at all), and loose the paper.  And many people don't
  33.       know enough about BASIC to do it the first time.
  34.  
  35.       Well, just crank up this program and it will visually allow you to
  36.       center your joysticks.  Both of them!  And both at the same time!
  37.  
  38.       When you run this program make sure the first thing you do is move
  39.       the stick all around to allow the program to know where the MAXimum
  40.       and MINimum settings are for both the X and Y coordinates.  Then
  41.       simply let the stick spring back to the center and adjust the knobs
  42.       so the cursor is in the middle of the box for that joystick.  It
  43.       can't get much easier than that!
  44.  
  45.  
  46.  
  47.       Programming Notes
  48.       -----------------
  49.  
  50.       When starting on this project, I found that the "normal" way to
  51.       detect if a joystick is present is through the BIOS function call
  52.       that checks the equipment list.  It turns out that on many new
  53.       systems this call will not tell you if a joystick is present in a
  54.       reliable form.  So this program just assumes that you do have a
  55.       joystick, and if one is not present, it just sits there and acts
  56.       like the stick is always at 0,0.  The program is pretty simple, but
  57.       it works.
  58.  
  59.  
  60.       We use an old BIOS function call to get the button status and the
  61.       position of the joystick.  However, I have read in some technical
  62.       reference manuals that this function call will sometimes make "some"
  63.       XT computers lock up.  If this happens, then I guess you can't use
  64.       the program.  Sorry, but its not our program, its something to do
  65.       with your XT computer.
  66.  
  67.  
  68.       This program is FREE for any non-commercial or non-government use.
  69.       If you are a government agency or ANY KIND OF BUSINESS, you must
  70.       contact us and get a site license of some kind to use this program.
  71.       Believe me, it won't cost too much.  However, I can't see the Army
  72.       using too many JOYSTICK alignment utilities... can you?
  73.  
  74.  
  75.       If you want to check out some of our other programs, and we do have
  76.       some nice shareware stuff, give our BBS a call!  If nothing else,
  77.       you may be able to download a new version of this program.  You will
  78.       have download access to our shareware and freeware programs on your
  79.       FIRST call.
  80.  
  81.  
  82.  
  83.