From 6eef2a8b8e7480bfa82c5ea83d785d478c4ba8d6 Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Fri, 7 Mar 2025 19:33:15 +0000 Subject: [PATCH] Input: Fix incorrect string conversion of motor binds --- pcsx2/Input/SDLInputSource.cpp | 4 ++-- pcsx2/Input/XInputSource.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pcsx2/Input/SDLInputSource.cpp b/pcsx2/Input/SDLInputSource.cpp index 56a74beadd..e9e7d0b8d4 100644 --- a/pcsx2/Input/SDLInputSource.cpp +++ b/pcsx2/Input/SDLInputSource.cpp @@ -966,9 +966,9 @@ TinyString SDLInputSource::ConvertKeyToString(InputBindingKey key, bool display, else if (key.source_subtype == InputSubclass::ControllerMotor) { if (display) - ret.format("SDL-{} {} Motor", static_cast(key.source_index), key.data ? "Large" : "Small"); + ret.format("SDL-{} {} Motor", static_cast(key.source_index), key.data ? "Small" : "Large"); else - ret.format("SDL-{}/{}Motor", static_cast(key.source_index), key.data ? "Large" : "Small"); + ret.format("SDL-{}/{}Motor", static_cast(key.source_index), key.data ? "Small" : "Large"); } else if (key.source_subtype == InputSubclass::ControllerHaptic) { diff --git a/pcsx2/Input/XInputSource.cpp b/pcsx2/Input/XInputSource.cpp index ab12829f98..b4dca34924 100644 --- a/pcsx2/Input/XInputSource.cpp +++ b/pcsx2/Input/XInputSource.cpp @@ -374,9 +374,9 @@ TinyString XInputSource::ConvertKeyToString(InputBindingKey key, bool display, b else if (key.source_subtype == InputSubclass::ControllerMotor) { if (display) - ret.format("XInput-{} {} Motor", static_cast(key.source_index), key.data ? "Large" : "Small"); + ret.format("XInput-{} {} Motor", static_cast(key.source_index), key.data ? "Small" : "Large"); else - ret.format("XInput-{}/{}Motor", static_cast(key.source_index), key.data ? "Large" : "Small"); + ret.format("XInput-{}/{}Motor", static_cast(key.source_index), key.data ? "Small" : "Large"); } }