Analog joystick help, buttons not working.
Dave S
Posts: 22
Hey
I am interfacing a Analog joystick (Flightstick Pro, 1995) with my javlin, and I· have the X/Y axis working perfectly..
Using http://www.parallax.com/dl/appnt/jav/class/AppnoteAnalogJoystick.PDF· for help, I cannot figure out how to get the buttons working.· The class has support fo buttonX and buttonY, butwhen I run the program, debug says buttonX is not pressed, and Y is always pressed, and no matter what··button I press, nothing changes.· The joystick has 3 buttons onstick, a 4 dir top-hat, and a trigger.
Any ideas?· Is it possible that I need·to change the pins· around from the DB15F on the joystick to other· pins?
Any hints?
Jon Williams wanna jump· in· on this?? :-)
I am interfacing a Analog joystick (Flightstick Pro, 1995) with my javlin, and I· have the X/Y axis working perfectly..
Using http://www.parallax.com/dl/appnt/jav/class/AppnoteAnalogJoystick.PDF· for help, I cannot figure out how to get the buttons working.· The class has support fo buttonX and buttonY, butwhen I run the program, debug says buttonX is not pressed, and Y is always pressed, and no matter what··button I press, nothing changes.· The joystick has 3 buttons onstick, a 4 dir top-hat, and a trigger.
Any ideas?· Is it possible that I need·to change the pins· around from the DB15F on the joystick to other· pins?
Any hints?
Jon Williams wanna jump· in· on this?? :-)
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Thanks
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office