Table of Contents

Enum JoyAxis

Namespace
Godot
Assembly
GodotSharp.dll
public enum JoyAxis : long

Fields

Invalid = -1

An invalid game controller axis.

LeftX = 0

Game controller left joystick x-axis.

LeftY = 1

Game controller left joystick y-axis.

Max = 10

The maximum number of game controller axes: OpenVR supports up to 5 Joysticks making a total of 10 axes.

RightX = 2

Game controller right joystick x-axis.

RightY = 3

Game controller right joystick y-axis.

SdlMax = 6

The number of SDL game controller axes.

TriggerLeft = 4

Game controller left trigger axis.

TriggerRight = 5

Game controller right trigger axis.