CommandGamepad

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

Parameters

eventLoop

The event loop to bind the button triggers to.

gamepad

The underlying FTC gamepad instance to read data from.