summaryrefslogtreecommitdiff
path: root/src/core/settings.cpp
diff options
context:
space:
mode:
authorGravatar Morph2020-10-08 23:43:07 -0400
committerGravatar Morph2020-11-15 23:33:20 -0500
commit652d6766d55acec6416dccb900a45c6660a86607 (patch)
tree7f9c64b78ca02aa1f62de77e25fcacbb2fdc4291 /src/core/settings.cpp
parentcontrollers/npad: Stop games from vibrating incorrect controllers (diff)
downloadyuzu-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.cpp1
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