GamepadBase

class wpilib.interfaces.GamepadBase(port)[source]

Bases: wpilib.interfaces.GenericHID

GamepadBase Interface.

getBumper(hand)[source]

Is the bumper pressed.

Parameters:hand – which hand
Returns:true if the bumper is pressed
getName()[source]
getPOV(pov=0)[source]
getPOVCount()[source]
getRawAxis(axis)[source]
getRawButton(button)[source]
getStickButton(hand=None)[source]
getType()[source]
setOutput(outputNumber, value)[source]
setOutputs(value)[source]
setRumble(type, value)[source]