Using xbox controller to move motor

We are trying to use an xbox controller to control some of our motors. And we got the xbox controller to control the solenoids with the buttons we mapped but everytime we try to map a motor to a button, it either doesnt do anything or for example a wheel we want to spin with button one and two but instead its spinning with axis one and two. I dont know why it’s working like this for the motors but not the solenoids.

Show your code if you want direct help.
It just sounds like you miswired to the axis output instead of the button output of the joystick.

In general, here’s an example of holding a button to drive a motor:
HoldButtonMotor

Or two button motor control:
ButtonDriveExample

Thank you!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.