diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-02-16 10:46:56 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-02-21 16:32:59 +0100 |
commit | ec19a85890f8185de3da3d21e07e52089e6e3689 (patch) | |
tree | 32e7ea19ab2468a25776bf09341131de1b0404bb /src/core/hle/service/hid/hid.h | |
parent | Merge pull request #5971 from ameerj/reslimit-dtor (diff) | |
download | yuzu-ec19a85890f8185de3da3d21e07e52089e6e3689.tar yuzu-ec19a85890f8185de3da3d21e07e52089e6e3689.tar.gz yuzu-ec19a85890f8185de3da3d21e07e52089e6e3689.tar.bz2 yuzu-ec19a85890f8185de3da3d21e07e52089e6e3689.tar.lz yuzu-ec19a85890f8185de3da3d21e07e52089e6e3689.tar.xz yuzu-ec19a85890f8185de3da3d21e07e52089e6e3689.tar.zst yuzu-ec19a85890f8185de3da3d21e07e52089e6e3689.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/hid.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h index 7cc0433e2..99d155586 100644 --- a/src/core/hle/service/hid/hid.h +++ b/src/core/hle/service/hid/hid.h @@ -136,6 +136,8 @@ private: void PermitVibration(Kernel::HLERequestContext& ctx); void IsVibrationPermitted(Kernel::HLERequestContext& ctx); void SendVibrationValues(Kernel::HLERequestContext& ctx); + void SendVibrationGcErmCommand(Kernel::HLERequestContext& ctx); + void GetActualVibrationGcErmCommand(Kernel::HLERequestContext& ctx); void BeginPermitVibrationSession(Kernel::HLERequestContext& ctx); void EndPermitVibrationSession(Kernel::HLERequestContext& ctx); void IsVibrationDeviceMounted(Kernel::HLERequestContext& ctx); @@ -154,7 +156,9 @@ private: void GetNpadCommunicationMode(Kernel::HLERequestContext& ctx); enum class VibrationDeviceType : u32 { + Unknown = 0, LinearResonantActuator = 1, + GcErm = 2, }; enum class VibrationDevicePosition : u32 { @@ -163,6 +167,12 @@ private: Right = 2, }; + enum class VibrationGcErmCommand : u64 { + Stop = 0, + Start = 1, + StopHard = 2, + }; + struct VibrationDeviceInfo { VibrationDeviceType type{}; VibrationDevicePosition position{}; |