Enumeration

WPEPlatformGamepadButton

Declaration

enum WPEPlatform.GamepadButton

Description [src]

Available buttons in a WPEGamepad, following the W3C standard gamepad mapping.

Members

WPE_GAMEPAD_BUTTON_RIGHT_CLUSTER_BOTTOM

Bottom button in the right cluster.

  • Value: 0
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_RIGHT_CLUSTER_RIGHT

Right button in the right cluster.

  • Value: 1
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_RIGHT_CLUSTER_LEFT

Left button in the right cluster.

  • Value: 2
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_RIGHT_CLUSTER_TOP

Top button in the right cluster.

  • Value: 3
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_LEFT_SHOULDER_FRONT

Top left front button.

  • Value: 4
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_RIGHT_SHOULDER_FRONT

Top right front button.

  • Value: 5
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_LEFT_SHOULDER_BACK

Bottom left front button.

  • Value: 6
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_RIGHT_SHOULDER_BACK

Bottom right front button.

  • Value: 7
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_CENTER_CLUSTER_LEFT

Left button in the center cluster.

  • Value: 8
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_CENTER_CLUSTER_RIGHT

Right button in the center cluster.

  • Value: 9
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_LEFT_THUMB

Left stick pressed button.

  • Value: 10
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_RIGHT_THUMB

Right stick pressed button.

  • Value: 11
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_LEFT_CLUSTER_TOP

Top button in the left cluster.

  • Value: 12
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_LEFT_CLUSTER_BOTTOM

Bottom button in the left cluster.

  • Value: 13
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_LEFT_CLUSTER_LEFT

Left button in the left cluster.

  • Value: 14
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_LEFT_CLUSTER_RIGHT

Right button in the left cluster.

  • Value: 15
  • Available since: 2.0
WPE_GAMEPAD_BUTTON_CENTER_CLUSTER_CENTER

Center button in the center cluster.

  • Value: 16
  • Available since: 2.0