diff --git a/examples/robot/GettingStarted/robot.py b/examples/robot/GettingStarted/robot.py index 1b624d15..289b0c2a 100755 --- a/examples/robot/GettingStarted/robot.py +++ b/examples/robot/GettingStarted/robot.py @@ -18,7 +18,7 @@ def __init__(self): self.leftDrive = wpilib.PWMSparkMax(0) self.rightDrive = wpilib.PWMSparkMax(1) self.robotDrive = wpilib.DifferentialDrive(self.leftDrive, self.rightDrive) - self.controller = wpilib.NiDsXboxController(0) + self.controller = wpilib.Gamepad(0) self.timer = wpilib.Timer() # We need to invert one side of the drivetrain so that positive voltages