Enumeration

WPEPlatformGamepadAxis

Declaration

enum WPEPlatform.GamepadAxis

Description [src]

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

Members

WPE_GAMEPAD_AXIS_LEFT_X

Horizontal axis for the left stick (negative left/positive right).

  • Value: 0
  • Available since: 2.0
WPE_GAMEPAD_AXIS_LEFT_Y

Vertical axis for the left stick (negative up/positive down).

  • Value: 1
  • Available since: 2.0
WPE_GAMEPAD_AXIS_RIGHT_X

Horizontal axis for the right stick (negative left/positive right).

  • Value: 2
  • Available since: 2.0
WPE_GAMEPAD_AXIS_RIGHT_Y

Vertical axis for the right stick (negative up/positive down).

  • Value: 3
  • Available since: 2.0