mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Android: Remove the in-emulation IR sensitivity options
This too can be set in the normal controller settings now.
This commit is contained in:
@ -35,11 +35,6 @@ bool InputConfig::LoadConfig(InputClass type)
|
||||
std::string profile[MAX_BBMOTES];
|
||||
std::string path;
|
||||
|
||||
#if defined(ANDROID)
|
||||
bool use_ir_config = false;
|
||||
std::string ir_values[3];
|
||||
#endif
|
||||
|
||||
m_dynamic_input_tex_config_manager.Load();
|
||||
|
||||
if (SConfig::GetInstance().GetGameID() != "00000000")
|
||||
@ -90,18 +85,6 @@ bool InputConfig::LoadConfig(InputClass type)
|
||||
}
|
||||
}
|
||||
}
|
||||
#if defined(ANDROID)
|
||||
// For use on android touchscreen IR pointer
|
||||
// Check for IR values
|
||||
if (control_section->Exists("IRTotalYaw") && control_section->Exists("IRTotalPitch") &&
|
||||
control_section->Exists("IRVerticalOffset"))
|
||||
{
|
||||
use_ir_config = true;
|
||||
control_section->Get("IRTotalYaw", &ir_values[0]);
|
||||
control_section->Get("IRTotalPitch", &ir_values[1]);
|
||||
control_section->Get("IRVerticalOffset", &ir_values[2]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (inifile.Load(File::GetUserPath(D_CONFIG_IDX) + m_ini_name + ".ini") &&
|
||||
@ -129,15 +112,6 @@ bool InputConfig::LoadConfig(InputClass type)
|
||||
{
|
||||
config = *inifile.GetOrCreateSection(controller->GetName());
|
||||
}
|
||||
#if defined(ANDROID)
|
||||
// Only set for wii pads
|
||||
if (type == InputClass::Wii && use_ir_config)
|
||||
{
|
||||
config.Set("IR/Total Yaw", ir_values[0]);
|
||||
config.Set("IR/Total Pitch", ir_values[1]);
|
||||
config.Set("IR/Vertical Offset", ir_values[2]);
|
||||
}
|
||||
#endif
|
||||
controller->LoadConfig(&config);
|
||||
controller->UpdateReferences(g_controller_interface);
|
||||
controller_names.push_back(controller->GetName());
|
||||
|
Reference in New Issue
Block a user