mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-17 22:25:37 +00:00
Settings: Set default controller type to AnalogController
This commit is contained in:
parent
837495d90f
commit
35f272b336
|
@ -95,7 +95,8 @@ std::unique_ptr<Controller> Controller::Create(ControllerType type, u32 index)
|
|||
|
||||
const char* Controller::GetDefaultPadType(u32 pad)
|
||||
{
|
||||
return (pad == 0) ? "DigitalController" : "None";
|
||||
return Settings::GetControllerTypeName((pad == 0) ? Settings::DEFAULT_CONTROLLER_1_TYPE :
|
||||
Settings::DEFAULT_CONTROLLER_2_TYPE);
|
||||
}
|
||||
|
||||
const Controller::ControllerInfo* Controller::GetControllerInfo(ControllerType type)
|
||||
|
|
|
@ -413,7 +413,7 @@ struct Settings
|
|||
|
||||
static constexpr u8 DEFAULT_CDROM_READAHEAD_SECTORS = 8;
|
||||
|
||||
static constexpr ControllerType DEFAULT_CONTROLLER_1_TYPE = ControllerType::DigitalController;
|
||||
static constexpr ControllerType DEFAULT_CONTROLLER_1_TYPE = ControllerType::AnalogController;
|
||||
static constexpr ControllerType DEFAULT_CONTROLLER_2_TYPE = ControllerType::None;
|
||||
static constexpr MemoryCardType DEFAULT_MEMORY_CARD_1_TYPE = MemoryCardType::PerGameTitle;
|
||||
static constexpr MemoryCardType DEFAULT_MEMORY_CARD_2_TYPE = MemoryCardType::None;
|
||||
|
|
Loading…
Reference in a new issue