Log in

View Full Version : programming joystick buttons


rhp3794
30-01-2012, 23:28
I've already made a program with basics for the team robot, We try to test it, the Joystick axis x and y work well, but button 1 which is programmed for the cannon didnt work, i connect Isochronous terminal with the unbundle by name, connected in buttons terminal in joystickget with an indicator of T/F
the three together, and didnt work, what do i have to do??

Keyreaper
31-01-2012, 01:25
I couldn't make out exactly what you are trying to accomplish but this is what I got out of it...

1. You have a button, in this case button one or on a joystick usually the trigger, which is supposed to shoot a cannon.
2. You've stated that you have connected the button up to a true/false indicator and when you run code it doesn't work?

I would assume that your joystick is bad... Although that is pretty rare...

DominickC
31-01-2012, 07:55
Here's a basic Joystick button layout.

If you are looking to light up an LED, replace the case structure with a boolean indicator.