CommandGamepad

constructor(gamepad: Gamepad, eventLoop: EventLoop = Trigger.defaultEventLoop)

Parameters

eventLoop

The event loop to bind the button triggers to.

gamepad

The underlying FTC gamepad instance to read data from.