diff options
| author | 2024-02-23 16:00:48 -0500 | |
|---|---|---|
| committer | 2024-02-23 16:41:59 -0500 | |
| commit | 0369c65870c4ffa1223dc3c6c7234ae1f12f6a04 (patch) | |
| tree | c1f670eda72a5273074fb7990d85f83045cfe070 /src/input_common/input_engine.h | |
| parent | Merge pull request #13141 from liamwhite/swap (diff) | |
| download | yuzu-0369c65870c4ffa1223dc3c6c7234ae1f12f6a04.tar.gz yuzu-0369c65870c4ffa1223dc3c6c7234ae1f12f6a04.tar.xz yuzu-0369c65870c4ffa1223dc3c6c7234ae1f12f6a04.zip | |
android: Play vibrations asynchronously
Diffstat (limited to 'src/input_common/input_engine.h')
| -rw-r--r-- | src/input_common/input_engine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h index c2d0cbb34..3e328509b 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h | |||
| @@ -46,6 +46,11 @@ enum class EngineInputType { | |||
| 46 | Nfc, | 46 | Nfc, |
| 47 | }; | 47 | }; |
| 48 | 48 | ||
| 49 | struct VibrationRequest { | ||
| 50 | PadIdentifier identifier; | ||
| 51 | Common::Input::VibrationStatus vibration; | ||
| 52 | }; | ||
| 53 | |||
| 49 | namespace std { | 54 | namespace std { |
| 50 | // Hash used to create lists from PadIdentifier data | 55 | // Hash used to create lists from PadIdentifier data |
| 51 | template <> | 56 | template <> |