 |
Author |
|
 |
|
airmaus
Joined: 21 Mar 2009 Posts: 1

|
Posted: Sat Mar 21, 2009 5:30 pm Post subject: |
|
|
| I'm trying to use a wireless Xbox 360 pad to play the game. When I go to change a button (for example, map the PDA to Start), I click on the action I want to change. A screen comes up for a second or so asking me to push the button I want to assign, and then disappears. The action I selected now has a (0) assigned to it. I've set the dead zone all the way up and this still happens. |
|
|
|
Back to top |
|
|
 |
|
Poo Bear Pod Team


Joined: 14 Oct 2002 Posts: 4107 Location: Sheffield, UK

|
Posted: Mon Mar 23, 2009 8:19 pm Post subject: |
|
|
| Check you have the latest drivers, your pad is generating output (as if you were pressing a button) when you aren't even touching it. Sounds wrong. I use a wired 360 pad and it works great. |
|
|
|
Back to top |
|
|
 |
|
SocialMed
Joined: 22 Dec 2010 Posts: 1

|
Posted: Wed Dec 22, 2010 3:57 am Post subject: |
|
|
I am having the same problem, and have had problems like this with other games as well.
From my experience, this is common in Vista with heavily used gamepads. They tend to develop a small 'deadspot' in the center of the control stick, which causes them to not center properly and make the game/directinput think that they are never quite centered. The problem is related to the fact that gamepads don't have a deadzone in vista.
In other words, when the player lets go of the control stick, instead of the x/y-axis returning to the midpoint value, the instead go to a random value close to the midpoint. For example, my 360 controller's x-axis tends to be anywhere between -600/+500 units off center in direct input when the stick is at rest.
so I see 3 possible solutions for this:
1. have a simple deadzone check on all of the axies.
2. when checking for gampad input, check for button input first, then axis input.
3. Implement xinput compatibility, as this api does not have the deadzone issues. (If you do this with an older game like this, you are insane.) |
|
|
|
Back to top |
|
|
 |
|
Poo Bear Pod Team


Joined: 14 Oct 2002 Posts: 4107 Location: Sheffield, UK

|
Posted: Wed Dec 22, 2010 9:13 am Post subject: |
|
|
| Sorry about that, I'll have to buy a wireless gamepad and try to reproduce it. There already is a dead zone in place, so it isn't that, perhaps there are other analog inputs coming out of the thing I'm not expecting or handling. |
|
|
|
Back to top |
|
|
 |
|
|
|
|
|
|