2018-09-21 02:08:35 +02:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Hid
|
|
|
|
|
{
|
|
|
|
|
public enum HidVibrationDeviceType
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
LinearResonantActuator
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HidVibrationDevicePosition
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
Left,
|
2018-12-06 12:16:24 +01:00
|
|
|
|
Right
|
2018-09-21 02:08:35 +02: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;
|
|
|
|
|
}
|
|
|
|
|
}
|