diff options
| author | 2021-12-13 16:50:54 -0800 | |
|---|---|---|
| committer | 2021-12-13 16:50:54 -0800 | |
| commit | ad45963b459d07d04e78f86d3316d7494730e9f9 (patch) | |
| tree | a2e70a6ffad04ec840e4ff3cd581d7a4ec5853fa /src/common/input.h | |
| parent | Merge pull request #7576 from lioncash/tasenum (diff) | |
| parent | input_engine: Fix typo in TriggerOnAxisChange() parameter name (diff) | |
| download | yuzu-ad45963b459d07d04e78f86d3316d7494730e9f9.tar.gz yuzu-ad45963b459d07d04e78f86d3316d7494730e9f9.tar.xz yuzu-ad45963b459d07d04e78f86d3316d7494730e9f9.zip | |
Merge pull request #7575 from lioncash/input
input_engine: Minor object churn cleanup
Diffstat (limited to 'src/common/input.h')
| -rw-r--r-- | src/common/input.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/input.h b/src/common/input.h index eaee0bdea..0b92449bc 100644 --- a/src/common/input.h +++ b/src/common/input.h | |||
| @@ -266,11 +266,9 @@ class OutputDevice { | |||
| 266 | public: | 266 | public: |
| 267 | virtual ~OutputDevice() = default; | 267 | virtual ~OutputDevice() = default; |
| 268 | 268 | ||
| 269 | virtual void SetLED([[maybe_unused]] LedStatus led_status) { | 269 | virtual void SetLED([[maybe_unused]] const LedStatus& led_status) {} |
| 270 | return; | ||
| 271 | } | ||
| 272 | 270 | ||
| 273 | virtual VibrationError SetVibration([[maybe_unused]] VibrationStatus vibration_status) { | 271 | virtual VibrationError SetVibration([[maybe_unused]] const VibrationStatus& vibration_status) { |
| 274 | return VibrationError::NotSupported; | 272 | return VibrationError::NotSupported; |
| 275 | } | 273 | } |
| 276 | 274 | ||