JonHolland
Still Fresh
- Joined
- Dec 17, 2006
- Messages
- 26
Originally, I wrote some joystick code that took axis readings much like a conventional joystick, or a PC d-pad.
When it didn't work, I realized that the stick on the Gp2x was digital. Now that I'm back to the drawing board, I know how to make it work, however I'm wondering on the best way to avoid dead spots.
My goal is to make the stick feel like an analog stick to the user, as responsive as possible.
It seems to me like you need to check the stick switches states for the 8 possible directions, instead of relying on "Button Left + Button Up" being pressed together, is this correct?
I'd do some more testing, but I don't have a Gp2x, and I'm annoying my friend by sending him a new GPE every few minutes
When it didn't work, I realized that the stick on the Gp2x was digital. Now that I'm back to the drawing board, I know how to make it work, however I'm wondering on the best way to avoid dead spots.
My goal is to make the stick feel like an analog stick to the user, as responsive as possible.
It seems to me like you need to check the stick switches states for the 8 possible directions, instead of relying on "Button Left + Button Up" being pressed together, is this correct?
I'd do some more testing, but I don't have a Gp2x, and I'm annoying my friend by sending him a new GPE every few minutes