PS4 DualShock controller that is interfaced to a HID backend.
Inheritance
DualShock4GamepadHID
public class DualShock4GamepadHID : DualShockGamepad, IDualShockHaptics, IDualMotorRumble, IHaptics
Properties
Declaration
public ButtonControl leftTriggerButton { get; protected set; }
Property Value
Declaration
public ButtonControl playStationButton { get; protected set; }
Property Value
Declaration
public ButtonControl rightTriggerButton { get; protected set; }
Property Value
Methods
Declaration
protected override void FinishSetup()
Overrides
Declaration
public override void PauseHaptics()
Overrides
Declaration
public override void ResetHaptics()
Overrides
Declaration
public override void ResumeHaptics()
Overrides
Declaration
public override void SetLightBarColor(Color color)
Parameters
Type |
Name |
Description |
Color |
color |
|
Overrides
Declaration
public override void SetMotorSpeeds(float lowFrequency, float highFrequency)
Parameters
Type |
Name |
Description |
Single |
lowFrequency |
|
Single |
highFrequency |
|
Overrides
Set motor speeds of both motors and the light bar color simultaneously.
Declaration
public bool SetMotorSpeedsAndLightBarColor(float lowFrequency, float highFrequency, Color color)
Parameters
Returns
Type |
Description |
Boolean |
True if the command succeeded. Will return false if another command is currently being processed.
|
Extension Methods