Results 1 to 1 of 1

Thread: The eastiest most powerful way to use a joystick! EVER!!!!

  1. #1

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    Talking The eastiest most powerful way to use a joystick! EVER!!!!

    Yes, VBD made this, but that doesn't mean its stupid(does it?(it might...)hope not)). It is a joystick control that a very beginner could use. It gives you a list of joysticks connected to the system, and allows you to select which one to recieve input from. You can recieve the X-Axis, Y-Axis, and Z-Axis(Throttle). Also, you can recieve which buttons are being pressed. Whats really cool is XCalibrate.... XCalibrate is just a special way of calibrating I built in that requires only one or two lines of code to use. For a highly technical information on this read the next paragraph. Oh, by the way XStick includes an Example commented on every line. Give it a try and spice up your program. Just unzip it, register the OCX using regisvr32(its free, not registration but register it with the API). Duh, you programmers know that, prolly more then me. Than try out the example.


    I spent many hours on this. Do you or one of your friends have a joystick that just won't calibrate right? Does your throttle only go part way up and down? Or, are you targeting users who might have cheap joysticks? Or if you just want the best possible calibration this is right for you. If you have looked at calibration routines, you will have noticed that it takes in a Max X and Max Y value. Than it sais X = JX * (100 / MaxX). Than, you come out with a percent of how far the Joystick is in a percent. Have you ever noticed how some joysticks jump? Meaning that you move it right all the way. Suddenly it in the Microsoft calibrator, the numbers jump a little. Now, the MaxX value is above what you can get except every few seconds with a little jump meaning that you can only go 75% left etc, etc. This is caused by the way Analog joysticks work. They have capacitors that convert analog to digital. The more your joystick is to the right, the more power they recieve. The more the recieve the more puleses they send out per second. Now, a capacitor overcharges for a second and screws up your calibration. XCalibrate is designed to deal with this. I have one of these joysticks myself. It works perfectly. Also, your joystick becomes even better calibrated as you run XStick.
    Attached Files Attached Files
    Hello

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width