diff options
| author | lynxnb <niccolo.betto@gmail.com> | 2022-01-15 19:44:11 +0100 |
|---|---|---|
| committer | lynxnb <niccolo.betto@gmail.com> | 2022-01-24 12:03:51 +0100 |
| commit | fe9ac4ed1d6efce98e87a9bd31e992e41f4c8785 (patch) | |
| tree | 6d1c4ed10abce0ca29735f37cacfff058ddb22ca /Source/Core | |
| parent | e8bbfc26fe27c4a5c9e6b44afc4918067a70fb58 (diff) | |
Android: add IR pointer modes to InputOverlayPointer
* Disabled: disables the overlay pointer
* Follow: default behaviour, IR pointer follows touch position
* Drag: IR pointer moves relative to the initial touch event position
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp b/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp index 575582a205..542ca8e5be 100644 --- a/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp +++ b/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp @@ -38,9 +38,10 @@ bool IsSettingSaveable(const Config::Location& config_location) // TODO: Kill the current Android controller mappings system if (config_location.section == "Android") { - static constexpr std::array<const char*, 8> android_setting_saveable = { + static constexpr std::array<const char*, 9> android_setting_saveable = { "ControlScale", "ControlOpacity", "EmulationOrientation", "JoystickRelCenter", - "LastPlatformTab", "MotionControls", "PhoneRumble", "ShowInputOverlay"}; + "LastPlatformTab", "MotionControls", "PhoneRumble", "ShowInputOverlay", + "IRMode"}; return std::any_of( android_setting_saveable.cbegin(), android_setting_saveable.cend(), |
