-
Notifications
You must be signed in to change notification settings - Fork 0
JoyAxis
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.JoyAxis |
| Namespace | Electron2D |
| Kind | enum |
| Category | Input |
Identifies a normalized gamepad axis.
public enum Electron2D.JoyAxis : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: JoyAxis
Standardized gamepad axis values for motion events, action bindings and Input.GetJoyAxis().
Axis values are reported through Electron2D.InputEventJoypadMotion and
queried through Electron2D.Input.GetJoyAxis(System.Int32,Electron2D.JoyAxis). Stick axes use
a signed range from -1.0 to 1.0; trigger axes use the same
storage range and are expected to report non-negative values on common
gamepad mappings.
Enumeration values are immutable and may be used from any thread.
This enum is available since Electron2D 0.1.0 Preview.
Electron2D.Input.GetJoyAxis(System.Int32,Electron2D.JoyAxis)Electron2D.InputEventJoypadMotion
| Member | Kind | Summary |
|---|---|---|
Invalid |
Enum value | Represents an invalid or unmapped gamepad axis. |
LeftX |
Enum value | Represents the horizontal axis of the left stick. |
LeftY |
Enum value | Represents the vertical axis of the left stick. |
RightX |
Enum value | Represents the horizontal axis of the right stick. |
RightY |
Enum value | Represents the vertical axis of the right stick. |
TriggerLeft |
Enum value | Represents the left trigger axis. |
TriggerRight |
Enum value | Represents the right trigger axis. |
Kind: Enum value
public const Electron2D.JoyAxis InvalidRepresents an invalid or unmapped gamepad axis.
Use this value with APIs that accept JoyAxis.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyAxis
Kind: Enum value
public const Electron2D.JoyAxis LeftXRepresents the horizontal axis of the left stick.
Use this value with APIs that accept JoyAxis.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyAxis
Kind: Enum value
public const Electron2D.JoyAxis LeftYRepresents the vertical axis of the left stick.
Use this value with APIs that accept JoyAxis.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyAxis
Kind: Enum value
public const Electron2D.JoyAxis RightXRepresents the horizontal axis of the right stick.
Use this value with APIs that accept JoyAxis.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyAxis
Kind: Enum value
public const Electron2D.JoyAxis RightYRepresents the vertical axis of the right stick.
Use this value with APIs that accept JoyAxis.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyAxis
Kind: Enum value
public const Electron2D.JoyAxis TriggerLeftRepresents the left trigger axis.
Use this value with APIs that accept JoyAxis.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyAxis
Kind: Enum value
public const Electron2D.JoyAxis TriggerRightRepresents the right trigger axis.
Use this value with APIs that accept JoyAxis.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyAxis
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.