|
Re: How to program the Xbox 360 Wired Controller...
A way you could tell what buttons are which in LabVIEW is to open the joystick and get button and axis information using the "Open" and "Get" VI's in the WPI robotics library. You can connect an "unbundle by name" block from the cluster palette to get the button/axis info after you get the info from "Get" VI. Then you can hook up some booleans to the info to see button info. And as for joystick info, you can create a boolean light, then on the block diagram, right click, "create", "property node", "position", then "left", and "top". Right click those nodes, and click "change to write" so the joysticks can control their position on the front panel (you might need a scalar to make the joysticks less sensitive). Although, your right joystick should be able to get the motor to work... (Hope this helped).
|