aboutsummaryrefslogtreecommitdiff
path: root/src/qt_common/config
diff options
context:
space:
mode:
authorxbzk <xbzk@eden-emu.dev>2026-09-30 00:57:23 +0200
committercrueter <crueter@eden-emu.dev>2026-09-30 00:57:23 +0200
commita82f31a310c5dc7cae50c47b3306510a24cc36a6 (patch)
tree6afc34f3a4d8b74bf931e1aaddb5fa94cc0cb63e /src/qt_common/config
parent815325cceca948030cf476dce7c46d901e4e4df5 (diff)
[settings,qt] merge of "disable controller applet" toggle with "controller applet mode" picker (#4498)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Small good simplification to nuke a toggle which costed me almost an entire day of work when fixing controller applet issues: There were two settings related to Controller applet: -"disable controller applet", which is a boolean toggle; -"controller configuration" applet mode, which is a "Real"/"Custom" picker; All i did was to nuke the toggle and add a third option "Disabled" to the picker. Users which used the disable toggle will have to pick Disabled; Real/Custom settings wont be affected since their indexes remains. All options tested against diablo 3. All working as intended. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4498 Reviewed-by: lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/qt_common/config')
-rw-r--r--src/qt_common/config/shared_translation.cpp4
-rw-r--r--src/qt_common/config/uisettings.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/qt_common/config/shared_translation.cpp b/src/qt_common/config/shared_translation.cpp
index d61c84e278..29fbd32de5 100644
--- a/src/qt_common/config/shared_translation.cpp
+++ b/src/qt_common/config/shared_translation.cpp
@@ -342,9 +342,6 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent) {
"it bypasses such prompts and directly exits the emulation."));
INSERT(UISettings, hide_mouse, tr("Hide mouse on inactivity"),
tr("Hides the mouse after 2.5s of inactivity."));
- INSERT(UISettings, controller_applet_disabled, tr("Disable controller applet"),
- tr("Forcibly disables the use of the controller applet in emulated programs.\n"
- "When a program attempts to open the controller applet, it is immediately closed."));
INSERT(UISettings, check_for_updates, tr("Check for updates"),
tr("Whether or not to check for updates upon startup."));
@@ -380,6 +377,7 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QObject* parent) {
{
PAIR(AppletMode, HLE, tr("Custom frontend")),
PAIR(AppletMode, LLE, tr("Real applet")),
+ PAIR(AppletMode, Disabled, tr("Disabled")),
}});
translations->insert({Settings::EnumMetadata<Settings::SpirvOptimizeMode>::Index(),
diff --git a/src/qt_common/config/uisettings.h b/src/qt_common/config/uisettings.h
index 794d1a029b..a790cfcc22 100644
--- a/src/qt_common/config/uisettings.h
+++ b/src/qt_common/config/uisettings.h
@@ -127,8 +127,6 @@ struct Values {
Setting<bool> hide_mouse{
linkage, true, "hideInactiveMouse", Category::UiGeneral, Settings::Specialization::Default,
true, true};
- Setting<bool> controller_applet_disabled{linkage, false, "disableControllerApplet",
- Category::UiGeneral};
// Set when Vulkan is known to crash the application
bool has_broken_vulkan = false;