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