We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6442d88 commit 4f0384dCopy full SHA for 4f0384d
imgui-SFML.cpp
@@ -586,7 +586,8 @@ void SetJoystickRTriggerThreshold(float threshold) {
586
587
void SetJoystickMapping(int key, unsigned int joystickButton) {
588
assert(s_currWindowCtx);
589
- assert(key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END);
+ assert(key >= ImGuiKey_NamedKey_BEGIN);
590
+ assert(key < ImGuiKey_NamedKey_END);
591
assert(joystickButton < sf::Joystick::ButtonCount);
592
s_currWindowCtx->joystickMapping[joystickButton] = static_cast<ImGuiKey>(key);
593
}
0 commit comments