home *** CD-ROM | disk | FTP | other *** search
-
-
- JOYSET
-
- JoyStick Adjustment Utility
-
- Version 1.0
- November 1990
-
-
-
- Brought to you by...
-
- The Computer Connection BBS
- (301) 696-1393
- 24 Hours / 7 Days
- US Robotics 1440 Modem
-
- FREE ACCESS TO ALL
-
-
-
-
-
- Have you ever had a joystick with knobs you had to keep setting all
- the time, so the joystick would be centered properly? If so, this
- program is for you!
-
- They always come with a little paper telling you how to type in a
- BASIC program in GW-BASIC, and run the program to center the
- joystick. Most people do this once, then loose the program (or
- don't save it at all), and loose the paper. And many people don't
- know enough about BASIC to do it the first time.
-
- Well, just crank up this program and it will visually allow you to
- center your joysticks. Both of them! And both at the same time!
-
- When you run this program make sure the first thing you do is move
- the stick all around to allow the program to know where the MAXimum
- and MINimum settings are for both the X and Y coordinates. Then
- simply let the stick spring back to the center and adjust the knobs
- so the cursor is in the middle of the box for that joystick. It
- can't get much easier than that!
-
-
-
- Programming Notes
- -----------------
-
- When starting on this project, I found that the "normal" way to
- detect if a joystick is present is through the BIOS function call
- that checks the equipment list. It turns out that on many new
- systems this call will not tell you if a joystick is present in a
- reliable form. So this program just assumes that you do have a
- joystick, and if one is not present, it just sits there and acts
- like the stick is always at 0,0. The program is pretty simple, but
- it works.
-
-
- We use an old BIOS function call to get the button status and the
- position of the joystick. However, I have read in some technical
- reference manuals that this function call will sometimes make "some"
- XT computers lock up. If this happens, then I guess you can't use
- the program. Sorry, but its not our program, its something to do
- with your XT computer.
-
-
- This program is FREE for any non-commercial or non-government use.
- If you are a government agency or ANY KIND OF BUSINESS, you must
- contact us and get a site license of some kind to use this program.
- Believe me, it won't cost too much. However, I can't see the Army
- using too many JOYSTICK alignment utilities... can you?
-
-
- If you want to check out some of our other programs, and we do have
- some nice shareware stuff, give our BBS a call! If nothing else,
- you may be able to download a new version of this program. You will
- have download access to our shareware and freeware programs on your
- FIRST call.
-
-
-
-