Class XboxGamepadState
Represents the state of a gamepad.
Inheritance
System.Object
XboxGamepadState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class XboxGamepadState
Properties
View SourceButtons
Gets or sets the generic device console button state.
Declaration
public GamepadButtons Buttons { get; set; }
Property Value
Type | Description |
---|---|
GamepadButtons |
LeftThumbstickX
Gets or sets the X position of the left thumbstick.
Declaration
public float LeftThumbstickX { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
LeftThumbstickY
Gets or sets the Y position of the left thumbstick.
Declaration
public float LeftThumbstickY { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
LeftTrigger
Gets or sets the position of the left trigger.
Declaration
public float LeftTrigger { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
RightThumbstickX
Gets or sets the X position of the right thumbstick.
Declaration
public float RightThumbstickX { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
RightThumbstickY
Gets or sets the Y position of the right thumbstick.
Declaration
public float RightThumbstickY { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
RightTrigger
Gets or sets the position of the right trigger.
Declaration
public float RightTrigger { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
XdkButtons
Gets or sets the xbox specific button state.
Declaration
public XdkGamepadButtons XdkButtons { get; set; }
Property Value
Type | Description |
---|---|
XdkGamepadButtons |