From e88214966f06f93ee6230d5ae9b6573b26ce91fc Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 28 Jan 2023 23:58:16 +1000 Subject: [PATCH] Settings: Default to digital controller on Android --- src/core/settings.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/settings.h b/src/core/settings.h index 8eaac374d..bc468fb0c 100644 --- a/src/core/settings.h +++ b/src/core/settings.h @@ -442,7 +442,12 @@ struct Settings static constexpr u8 DEFAULT_CDROM_READAHEAD_SECTORS = 8; +#ifndef __ANDROID__ + // Android still defaults to digital controller for now. static constexpr ControllerType DEFAULT_CONTROLLER_1_TYPE = ControllerType::AnalogController; +#else + static constexpr ControllerType DEFAULT_CONTROLLER_1_TYPE = ControllerType::DigitalController; +#endif 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;