mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Android: Use touch emulation of IR by default
While having motion control emulation of IR enabled by default makes sense in situations like using a DualShock 4 on a PC, Android has the additional option of touch emulation of IR which seems to be better liked, and the default value which was chosen with PC in mind was carried over to Android without any particular consideration. This change disables motion control emulation of IR by default on Android only.
This commit is contained in:
@ -49,16 +49,17 @@ enum class GroupType
|
||||
class ControlGroup
|
||||
{
|
||||
public:
|
||||
enum class CanBeDisabled
|
||||
enum class DefaultValue
|
||||
{
|
||||
No,
|
||||
Yes,
|
||||
AlwaysEnabled,
|
||||
Enabled,
|
||||
Disabled,
|
||||
};
|
||||
|
||||
explicit ControlGroup(std::string name, GroupType type = GroupType::Other,
|
||||
CanBeDisabled can_be_disabled = CanBeDisabled::No);
|
||||
DefaultValue default_value = DefaultValue::AlwaysEnabled);
|
||||
ControlGroup(std::string name, std::string ui_name, GroupType type = GroupType::Other,
|
||||
CanBeDisabled can_be_disabled = CanBeDisabled::No);
|
||||
DefaultValue default_value = DefaultValue::AlwaysEnabled);
|
||||
virtual ~ControlGroup();
|
||||
|
||||
virtual void LoadConfig(IniFile::Section* sec, const std::string& defdev = "",
|
||||
@ -92,7 +93,7 @@ public:
|
||||
const std::string name;
|
||||
const std::string ui_name;
|
||||
const GroupType type;
|
||||
const bool can_be_disabled;
|
||||
const DefaultValue default_value;
|
||||
|
||||
bool enabled = true;
|
||||
std::vector<std::unique_ptr<Control>> controls;
|
||||
|
Reference in New Issue
Block a user