Patches

Game Controller

Game Controller

Control your prototype using any MFI-compatible Game Controller. Supports the Game Pad and Extended Game Pad profiles. Micro Game Pad profile is not available on macOS.

Game Controller

  • Connected
  • A
  • B
  • X
  • Y
  • L1
  • R1
  • L2
  • R2
  • D-pad
  • Left Thumbstick
  • Right Thumbstick

Connected

A boolean that is true when a controller is paired and connected.

A

A boolean that is true when the bottom face button is pressed.

B

A boolean that is true when the right face button is pressed.

X

A boolean that is true when the left face button is pressed.

Y

A boolean that is true when the top face button is pressed.

L1

A boolean that is true when the left shoulder button is pressed.

R1

A boolean that is true when the right shoulder button is pressed.

L2

A boolean that is true when the left trigger button is pressed. Only supported on controllers with the Extended Game Pad profile.

R2

A boolean that is true when the right trigger button is pressed. Only supported on controllers with the Extended Game Pad profile.

D-pad

A point value between -1 ,-1 (bottom left) and 1,1 (top right) that represents the position of the directional pad.

Left Thumbstick

A point value between -1 ,-1 (bottom left) and 1,1 (top right) that represents the position of the left joystick.

Right Thumbstick

A point value between -1 ,-1 (bottom left) and 1,1 (top right) that represents the position of the right joystick.