diff options
| author | 2020-10-08 23:43:07 -0400 | |
|---|---|---|
| committer | 2020-11-15 23:33:20 -0500 | |
| commit | 652d6766d55acec6416dccb900a45c6660a86607 (patch) | |
| tree | 7f9c64b78ca02aa1f62de77e25fcacbb2fdc4291 /src/core/settings.cpp | |
| parent | controllers/npad: Stop games from vibrating incorrect controllers (diff) | |
| download | yuzu-652d6766d55acec6416dccb900a45c6660a86607.tar.gz yuzu-652d6766d55acec6416dccb900a45c6660a86607.tar.xz yuzu-652d6766d55acec6416dccb900a45c6660a86607.zip | |
configure_input: Hook up the vibration percentage spinbox
This allows setting the vibration strength percentage anywhere from 1% to 100%.
Also hooks up the remaining motion button and checkbox in the Controller Applet.
Diffstat (limited to 'src/core/settings.cpp')
| -rw-r--r-- | src/core/settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp index aadbc3932..6e39aebb5 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp | |||
| @@ -150,6 +150,7 @@ void RestoreGlobalState() { | |||
| 150 | values.players.SetGlobal(true); | 150 | values.players.SetGlobal(true); |
| 151 | values.use_docked_mode.SetGlobal(true); | 151 | values.use_docked_mode.SetGlobal(true); |
| 152 | values.vibration_enabled.SetGlobal(true); | 152 | values.vibration_enabled.SetGlobal(true); |
| 153 | values.vibration_strength.SetGlobal(true); | ||
| 153 | values.motion_enabled.SetGlobal(true); | 154 | values.motion_enabled.SetGlobal(true); |
| 154 | } | 155 | } |
| 155 | 156 | ||