aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Hid/HidVibration.cs
blob: cb2427e732d1bba7f7cf399e39aa8bc5dc696917 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
    }
}