Skip to content

Commit

Permalink
Settings: Default to digital controller on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 28, 2023
1 parent 32d056c commit 1ccd3fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/settings.h
Expand Up @@ -441,7 +441,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;
Expand Down

0 comments on commit 1ccd3fd

Please sign in to comment.