EmuWindow: refactor touch input into a TouchDevice

This commit is contained in:
wwylele 2017-08-09 02:57:42 +03:00
parent c84e60b470
commit 2617de1fe6
5 changed files with 72 additions and 39 deletions

View file

@ -78,6 +78,8 @@ void Config::ReadValues() {
Settings::values.motion_device = sdl2_config->Get(
"Controls", "motion_device", "engine:motion_emu,update_period:100,sensitivity:0.01");
Settings::values.touch_device =
sdl2_config->Get("Controls", "touch_device", "engine:emu_window");
// Core
Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true);