When Teleop is first enabled we must press a joystick button twice for it to have the desired function. It is as if the first button press initializes the control, but that doesn’t make much sense to me. If anyone has seen this, and knows of a solution please share!
You must wait a few seconds before you Enable your code. I like to deploy it and give it a minute or two, and check wiring in that (excessive) minute.
You would have to post your faulty code for us to help you debug it.