We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d46cca commit 5707977Copy full SHA for 5707977
src/util/xinput_source.cpp
@@ -342,7 +342,7 @@ TinyString XInputSource::ConvertKeyToString(InputBindingKey key)
342
}
343
else if (key.source_subtype == InputSubclass::ControllerMotor)
344
{
345
- 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 == 0) ? "Large" : "Small");
346
347
348
0 commit comments