mirror of https://github.com/PCSX2/pcsx2.git
Input: Fix incorrect string conversion of motor binds
This commit is contained in:
parent
d332aee542
commit
9fb8dacadb
|
@ -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<u32>(key.source_index), key.data ? "Large" : "Small");
|
||||
ret.format("SDL-{} {} Motor", static_cast<u32>(key.source_index), key.data ? "Small" : "Large");
|
||||
else
|
||||
ret.format("SDL-{}/{}Motor", static_cast<u32>(key.source_index), key.data ? "Large" : "Small");
|
||||
ret.format("SDL-{}/{}Motor", static_cast<u32>(key.source_index), key.data ? "Small" : "Large");
|
||||
}
|
||||
else if (key.source_subtype == InputSubclass::ControllerHaptic)
|
||||
{
|
||||
|
|
|
@ -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<u32>(key.source_index), key.data ? "Large" : "Small");
|
||||
ret.format("XInput-{} {} Motor", static_cast<u32>(key.source_index), key.data ? "Small" : "Large");
|
||||
else
|
||||
ret.format("XInput-{}/{}Motor", static_cast<u32>(key.source_index), key.data ? "Large" : "Small");
|
||||
ret.format("XInput-{}/{}Motor", static_cast<u32>(key.source_index), key.data ? "Small" : "Large");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue