Show / Hide Table of Contents

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 Source

Buttons

Gets or sets the generic device console button state.

Declaration
public GamepadButtons Buttons { get; set; }
Property Value
Type Description
GamepadButtons
View Source

LeftThumbstickX

Gets or sets the X position of the left thumbstick.

Declaration
public float LeftThumbstickX { get; set; }
Property Value
Type Description
System.Single
View Source

LeftThumbstickY

Gets or sets the Y position of the left thumbstick.

Declaration
public float LeftThumbstickY { get; set; }
Property Value
Type Description
System.Single
View Source

LeftTrigger

Gets or sets the position of the left trigger.

Declaration
public float LeftTrigger { get; set; }
Property Value
Type Description
System.Single
View Source

RightThumbstickX

Gets or sets the X position of the right thumbstick.

Declaration
public float RightThumbstickX { get; set; }
Property Value
Type Description
System.Single
View Source

RightThumbstickY

Gets or sets the Y position of the right thumbstick.

Declaration
public float RightThumbstickY { get; set; }
Property Value
Type Description
System.Single
View Source

RightTrigger

Gets or sets the position of the right trigger.

Declaration
public float RightTrigger { get; set; }
Property Value
Type Description
System.Single
View Source

XdkButtons

Gets or sets the xbox specific button state.

Declaration
public XdkGamepadButtons XdkButtons { get; set; }
Property Value
Type Description
XdkGamepadButtons
  • View Source
In This Article
Back to top Generated by DocFX