2018-09-20 17:08:35 -07:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Hid
|
|
|
|
|
{
|
|
|
|
|
public enum HidVibrationDeviceType
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
LinearResonantActuator
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HidVibrationDevicePosition
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
Left,
|
2018-12-06 03:16:24 -08:00
|
|
|
|
Right
|
2018-09-20 17:08:35 -07: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;
|
|
|
|
|
}
|
2019-07-14 12:04:38 -07:00
|
|
|
|
}
|