-
Notifications
You must be signed in to change notification settings - Fork 0
JoyButton
Namespace: Electron2D
Identifies a standardized gamepad button.
public enum Electron2D.JoyButton : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableButton values are used by Electron2D.InputEventJoypadButton,
Electron2D.InputMap bindings and
Electron2D.Input.IsJoyButtonPressed(System.Int32,Electron2D.JoyButton). The first four face
buttons use the common bottom, right, left and top physical layout order.
Enumeration values are immutable and may be used from any thread.
This enum is available since Electron2D 0.1.0 Preview.
Electron2D.Input.IsJoyButtonPressed(System.Int32,Electron2D.JoyButton)Electron2D.InputEventJoypadButton
| Member | Kind | Summary |
|---|---|---|
A |
Enum value | Represents the bottom face button. |
B |
Enum value | Represents the right face button. |
Back |
Enum value | Represents the back or select button. |
DpadDown |
Enum value | Represents the directional pad down button. |
DpadLeft |
Enum value | Represents the directional pad left button. |
DpadRight |
Enum value | Represents the directional pad right button. |
DpadUp |
Enum value | Represents the directional pad up button. |
Guide |
Enum value | Represents the guide, home or system button. |
Invalid |
Enum value | Represents an invalid or unmapped gamepad button. |
LeftShoulder |
Enum value | Represents the left shoulder button. |
LeftStick |
Enum value | Represents pressing the left stick. |
Misc1 |
Enum value | Represents the first miscellaneous gamepad button. |
Paddle1 |
Enum value | Represents the first paddle button. |
Paddle2 |
Enum value | Represents the second paddle button. |
Paddle3 |
Enum value | Represents the third paddle button. |
Paddle4 |
Enum value | Represents the fourth paddle button. |
RightShoulder |
Enum value | Represents the right shoulder button. |
RightStick |
Enum value | Represents pressing the right stick. |
Start |
Enum value | Represents the start or menu button. |
Touchpad |
Enum value | Represents the touchpad click button. |
X |
Enum value | Represents the left face button. |
Y |
Enum value | Represents the top face button. |
Kind: Enum value
public const Electron2D.JoyButton ARepresents the bottom face button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton BRepresents the right face button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton BackRepresents the back or select button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton DpadDownRepresents the directional pad down button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton DpadLeftRepresents the directional pad left button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton DpadRightRepresents the directional pad right button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton DpadUpRepresents the directional pad up button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton GuideRepresents the guide, home or system button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton InvalidRepresents an invalid or unmapped gamepad button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton LeftShoulderRepresents the left shoulder button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton LeftStickRepresents pressing the left stick.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton Misc1Represents the first miscellaneous gamepad button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton Paddle1Represents the first paddle button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton Paddle2Represents the second paddle button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton Paddle3Represents the third paddle button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton Paddle4Represents the fourth paddle button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton RightShoulderRepresents the right shoulder button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton RightStickRepresents pressing the right stick.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton StartRepresents the start or menu button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton TouchpadRepresents the touchpad click button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton XRepresents the left face button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Kind: Enum value
public const Electron2D.JoyButton YRepresents the top face button.
Use this value with APIs that accept JoyButton.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.JoyButton
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.