commands1.buttons Package

Button()

This class provides an easy way to link commands to OI inputs.

ButtonScheduler(last, button, orders)

CancelButtonScheduler(last, button, orders)

HeldButtonScheduler(last, button, orders)

InternalButton(*args, **kwargs)

This Button is intended to be used within a program.

JoystickButton(joystick, buttonNumber)

A Button} that gets its state from a GenericHID.

NetworkButton(*args, **kwargs)

A that uses a NetworkTable boolean field.

POVButton(joystick, angle[, povNumber])

A Button that gets its state from a POV on a GenericHID.

PressedButtonScheduler(last, button, orders)

ReleasedButtonScheduler(last, button, orders)

ToggleButtonScheduler(last, button, orders)

Trigger()

This class provides an easy way to link commands to inputs.