JoystickButton

class commands1.buttons.JoystickButton(joystick: wpilib.interfaces._interfaces.GenericHID, buttonNumber: int)

Bases: commands1._impl._commands_v1.button.Button

A Button} that gets its state from a GenericHID.

This class is provided by the OldCommands VendorDep

get() bool