mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 12:15:45 +00:00
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.
This commit is contained in:
parent
3281c3b1cb
commit
06bc7678ba
11 changed files with 26 additions and 3 deletions
|
@ -290,6 +290,8 @@ void Config::ReadValues() {
|
|||
|
||||
Settings::values.vibration_enabled.SetValue(
|
||||
sdl2_config->GetBoolean("ControlsGeneral", "vibration_enabled", true));
|
||||
Settings::values.vibration_strength.SetValue(
|
||||
sdl2_config->GetInteger("ControlsGeneral", "vibration_strength", 100));
|
||||
Settings::values.motion_enabled.SetValue(
|
||||
sdl2_config->GetBoolean("ControlsGeneral", "motion_enabled", true));
|
||||
Settings::values.touchscreen.enabled =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue