TeleOp: Remote control buttons are pushing my buttons :/
We are having problems with our TeleOp program where not a single button on any controller are seen as pressed by the program. The controllers are set to DirectInput mode, not XInput. We have tried through RobotC and through Samantha Field Control, but neither work. The controllers and how we have set things up both through RobotC and through field control are correct because the use of joysticks functions properly.
We have determined that this is some kind of problem in the program or in the drivers. The joystick debug window in RobotC (competition AND normal) both display the use of buttons and the correct buttons being pushed, but the program does not work. Utilizing the local variables debug window, we found that no matter what button is pushed it always returns 0 as the value. We even found through the same method that joystick.joy1_Buttons is also constantly 0.
We have tried many things. We tried using joy1Btn(int) as a boolean value, as well as an integer value.
We also made this program specifically for testing these buttons where it just displays something on the screen.
Button Tester: https://gist.github.com/robotics5040/678d2c9c74af86f91aab%20
Thanks for any help you can provide!