✅ ✅ ✅ ✅ ✅ ✅ ✅

Button

class Button

Remote and hub buttons

LEFT_MINUS: Button = 1

Powered Up Remote only.

LEFT_PLUS: Button = 7

Powered Up Remote only.

RIGHT_MINUS: Button = 3

Powered Up Remote only.

RIGHT_PLUS: Button = 9

Powered Up Remote only.

CENTER: Button = 5

Powered Up Remote (green button) or hub power button.

LEFT: Button = 4

Powered Up Remote (left red button) and Prime/Inventor Hub (left button).

RIGHT: Button = 6

Powered Up Remote (right red button) and Prime/Inventor Hub (right button).

BLUETOOTH: Button = 9

Prime/Inventor Hub button with Bluetooth icon.

Xbox controller buttons

A: Button = 0
B: Button = 0
X: Button = 0
Y: Button = 0
LB: Button = 0

The left bumper.

RB: Button = 0

The right bumper.

LJ: Button = 0

Pressing the left joystick.

RJ: Button = 0

Pressing the right joystick.

GUIDE: Button = 0

The Xbox button in the center of the controller.

MENU: Button = 0
UPLOAD: Button = 0

Only available on newer Xbox controllers.

VIEW: Button = 0

Xbox Elite Series 2 controller paddles

P1: Button = 0
P2: Button = 0
P3: Button = 0
P4: Button = 0