wpilib.event Package

BooleanEvent(loop, condition)

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

EventLoop()

The loop polling BooleanEvent objects and executing the actions bound to them.