Common implementation of dual motor rumbling.
public struct DualMotorRumble
Properties
Declaration
public float highFrequencyMotorSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public bool isRumbling { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public float lowFrequencyMotorSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
Declaration
public void PauseHaptics(InputDevice device)
Parameters
Declaration
public void ResetHaptics(InputDevice device)
Parameters
Declaration
public void ResumeHaptics(InputDevice device)
Parameters
Declaration
public void SetMotorSpeeds(InputDevice device, float lowFrequency, float highFrequency)
Parameters
Type |
Name |
Description |
InputDevice |
device |
|
System.Single |
lowFrequency |
|
System.Single |
highFrequency |
|