Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: sparta98 on February 20, 2011, 05:59:56 AM

Title: The 'Alpha' Controller?
Post by: sparta98 on February 20, 2011, 05:59:56 AM
I have noticed something weird about joysticks: On our computer, one will dominate the other, becoming the 'main' controller and pushing the other back to 'second' controller. This happens no matter what order we plug them in. My question is, "why?"

We use two Xbox 360 controllers, one is an 'afterglow' and the other is a Pittsburg Steelers controller. The program we use is Labview, if that helps.

Thanks in advance.
Title: Re: The 'Alpha' Controller?
Post by: Redcap on February 20, 2011, 06:18:12 AM
If the order they're plugged in does not effect them, what about the location/port they're plugged into?
If they're USB, I'm fairly sure it depends on which USB port you plug them into.
Title: Re: The 'Alpha' Controller?
Post by: Soeren on February 20, 2011, 07:56:36 AM
I have noticed something weird about joysticks: On our computer, one will dominate the other, becoming the 'main' controller and pushing the other back to 'second' controller. This happens no matter what order we plug them in. My question is, "why?"
A fact of life... The bigger stick always dominates  ;)

Why does it matter?
Title: Re: The 'Alpha' Controller?
Post by: sparta98 on February 20, 2011, 12:47:46 PM
We did try switching the ports, but that didn't do it.

It matters because one of them has a sticky left stick. That one happens to be the dominator. The dominator always seems to control the robot. Problem is, in our setup, left stick=throttle. You can imagine why that's bad in competition.

We want the dominator to be the second controller because it would then only need working triggers and buttons.
Title: Re: The 'Alpha' Controller?
Post by: Redcap on February 21, 2011, 08:52:47 AM
Assuming you don't want to dismantle it and see if the sticking can be fixed...
If you're using MS Windows, you may have some luck. (not sure how to do this in Linux, XOS etc)

Go to your "Control Panel" > "Game Controllers".
If you click the "Advanced..." button, you can select which device is the preferred.

Quote from: Microsoft Website
Method 3: Configure your game controller as the preferred device
To configure your game controller as the preferred device, follow these steps:

   1. In Control Panel, open Game Controllers. To do this, use one of the following methods:
          * In Windows Vista, click Start, type joy.cpl in the Start Search box, and then press ENTER.
          * In Windows XP and in earlier versions of Windows, click Start, click Run, type joy.cpl, and then click OK.
   2. Click Advanced.
   3. Under Preferred device, select the game controller that you want to use.
   4. Click OK two times.
Title: Re: The 'Alpha' Controller?
Post by: sparta98 on February 21, 2011, 10:23:26 AM
I'll pass it on, thank you.