Merge pull request #4594 from german77/MotionHID

hid/configuration: Implement motion controls to HID
This commit is contained in:
bunnei 2020-09-17 12:39:01 -07:00 committed by GitHub
commit 3f6d83b27c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 940 additions and 156 deletions

View file

@ -290,6 +290,8 @@ void Config::ReadValues() {
Settings::values.vibration_enabled =
sdl2_config->GetBoolean("ControlsGeneral", "vibration_enabled", true);
Settings::values.motion_enabled =
sdl2_config->GetBoolean("ControlsGeneral", "motion_enabled", true);
Settings::values.touchscreen.enabled =
sdl2_config->GetBoolean("ControlsGeneral", "touch_enabled", true);
Settings::values.touchscreen.device =