Log in

View Full Version : Defining a joystick


dr_jack3l
11-02-2009, 19:34
Hey, how do you set the buttons on a joystick? For example, we are trying to program the trigger on our joystick to operate a motor for a pulley system.

Alan Anderson
12-02-2009, 09:59
You "set" the value of joystick buttons by physically pressing them.

You read the value by using the Joystick Get VI. One of that VI's outputs is a cluster containing all the button states. Unbundle the cluster and you have access to each button individually.