1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-24 11:22:01 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Hid/HidVibration.cs
Ac_K e77c1560e6 Full 5.X stubbed IHidServer (#428)
* Full 5.X stubbed IHidServer

Since we can't support all those Hid calls in the right way, we can stub them with more information as possible in the logs.
I have added all symbols in it to be more revelant as possible.
It's remove some Hid spam in few games too, because we assign some var as the game want.

* Fix issues

* Fix code according to review
2018-09-21 02:08:35 +02:00

29 lines
593 B
C#

namespace Ryujinx.HLE.HOS.Services.Hid
{
public enum HidVibrationDeviceType
{
None,
LinearResonantActuator
}
public enum HidVibrationDevicePosition
{
None,
Left,
Right,
}
public struct HidVibrationDeviceValue
{
public HidVibrationDeviceType DeviceType;
public HidVibrationDevicePosition Position;
}
public struct HidVibrationValue
{
public float AmplitudeLow;
public float FrequencyLow;
public float AmplitudeHigh;
public float FrequencyHigh;
}
}