diff options
| author | 2022-10-21 00:23:12 -0500 | |
|---|---|---|
| committer | 2022-10-21 00:24:08 -0500 | |
| commit | 7f66050f0c383a5c7d82c5c58098f819d4e1e0bc (patch) | |
| tree | 8d449371387a14d7564381037d8deade468ee010 /src/common/input.h | |
| parent | Merge pull request #9088 from Fdawgs/chore/images (diff) | |
| download | yuzu-7f66050f0c383a5c7d82c5c58098f819d4e1e0bc.tar.gz yuzu-7f66050f0c383a5c7d82c5c58098f819d4e1e0bc.tar.xz yuzu-7f66050f0c383a5c7d82c5c58098f819d4e1e0bc.zip | |
input_common: cache vibration tests
Diffstat (limited to 'src/common/input.h')
| -rw-r--r-- | src/common/input.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/input.h b/src/common/input.h index b533f3844..cb30b7254 100644 --- a/src/common/input.h +++ b/src/common/input.h | |||
| @@ -100,7 +100,6 @@ enum class CameraError { | |||
| 100 | enum class VibrationAmplificationType { | 100 | enum class VibrationAmplificationType { |
| 101 | Linear, | 101 | Linear, |
| 102 | Exponential, | 102 | Exponential, |
| 103 | Test, | ||
| 104 | }; | 103 | }; |
| 105 | 104 | ||
| 106 | // Analog properties for calibration | 105 | // Analog properties for calibration |
| @@ -325,6 +324,10 @@ public: | |||
| 325 | return VibrationError::NotSupported; | 324 | return VibrationError::NotSupported; |
| 326 | } | 325 | } |
| 327 | 326 | ||
| 327 | virtual bool IsVibrationEnabled() { | ||
| 328 | return false; | ||
| 329 | } | ||
| 330 | |||
| 328 | virtual PollingError SetPollingMode([[maybe_unused]] PollingMode polling_mode) { | 331 | virtual PollingError SetPollingMode([[maybe_unused]] PollingMode polling_mode) { |
| 329 | return PollingError::NotSupported; | 332 | return PollingError::NotSupported; |
| 330 | } | 333 | } |