Problem with Gamecube Driver Object
Kokovec
Posts: 14
I'm runing the Gamecube object on a Prop demo board with a Madcatz controller.
All of the buttons work fine but the joysticks do not seem to be sending back the correct data.
I'm guessing that the X and Y values should range from $00..$FF but I get nowhere near that.
For instance when I move the left joy all the way to the left it gives me X=$74 Y=$10.
Left joy moved all the way to the right gives me X=$CF Y=$30.
The C1 joystick give me similar readings.
Has this driver been tested on a Madcatz controller or only on a real Gamecube controller?
Thanks,
Dan
·
All of the buttons work fine but the joysticks do not seem to be sending back the correct data.
I'm guessing that the X and Y values should range from $00..$FF but I get nowhere near that.
For instance when I move the left joy all the way to the left it gives me X=$74 Y=$10.
Left joy moved all the way to the right gives me X=$CF Y=$30.
The C1 joystick give me similar readings.
Has this driver been tested on a Madcatz controller or only on a real Gamecube controller?
Thanks,
Dan
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.
Post Edited (CJ) : 5/26/2008 7:22:49 PM GMT
The Madcatz centers at JoyX=$CA, JoyY=$2C
·
if using the test, do the readings move smoothly over the range available?
have you tried the controller hardware reset/kept the sticks centered during power on?
unfortunately I don't have a madcatz controller, so I can't test.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.
OK, strange thing...·I loaded the program into eeprom and turned on the prop demo board.
Now I get $7F accross the board so that looks right.
However I don't have full travel. Both joys in both directions go from $10 to $EE.
I'll try to get a real Gamecube controller to see how that works for me.
By the way very nice job on this object [noparse]:)[/noparse]
thanks for the compliment
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.
I think I figured out why the controller was flakey at start-up.
When I remove the USB cable from the Prop demo board and recycle power it locks in every time.
When I plug the USB cable back in the readings are off again.
I'm guessing that the USB port is supplying a short burst of voltage to the·controller which does not have enough time to properly initialize.