2018-09-20 20:08:35 -04:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Hid
|
|
|
|
|
{
|
|
|
|
|
public enum HidVibrationDeviceType
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
LinearResonantActuator
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HidVibrationDevicePosition
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
Left,
|
2018-12-06 06:16:24 -05:00
|
|
|
|
Right
|
2018-09-20 20:08:35 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public struct HidVibrationDeviceValue
|
|
|
|
|
{
|
|
|
|
|
public HidVibrationDeviceType DeviceType;
|
|
|
|
|
public HidVibrationDevicePosition Position;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public struct HidVibrationValue
|
|
|
|
|
{
|
|
|
|
|
public float AmplitudeLow;
|
|
|
|
|
public float FrequencyLow;
|
|
|
|
|
public float AmplitudeHigh;
|
|
|
|
|
public float FrequencyHigh;
|
|
|
|
|
}
|
|
|
|
|
}
|