A Sony DualShock controller.
Inheritance
System.Object
DualShockGamepad
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
public class DualShockGamepad : Gamepad, IDualShockHaptics, IDualMotorRumble
Properties
Declaration
public Vector3Control acceleration { get; }
Property Value
Type |
Description |
Vector3Control |
|
Declaration
public Vector3Control angularVelocity { get; }
Property Value
Type |
Description |
Vector3Control |
|
Declaration
public ButtonControl circleButton { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl crossButton { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public static DualShockGamepad current { get; }
Property Value
Declaration
public ButtonControl L1 { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl L2 { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl L3 { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl optionsButton { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public QuaternionControl orientation { get; }
Property Value
Type |
Description |
QuaternionControl |
|
Declaration
public ButtonControl R1 { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl R2 { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl R3 { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl shareButton { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl squareButton { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl touchpadButton { get; }
Property Value
Type |
Description |
ButtonControl |
|
Declaration
public ButtonControl triangleButton { get; }
Property Value
Type |
Description |
ButtonControl |
|
Methods
Declaration
protected override void FinishSetup(InputDeviceBuilder builder)
Parameters
Type |
Name |
Description |
InputDeviceBuilder |
builder |
|
Overrides
Declaration
public override void MakeCurrent()
Overrides
Declaration
protected override void OnRemoved()
Overrides
Declaration
public virtual void SetLightBarColor(Color color)
Parameters
Type |
Name |
Description |
Color |
color |
|
Implements