mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-21 18:22:40 +01:00
parent
9454e11fd9
commit
831c3f49bf
@ -569,7 +569,7 @@ std::string GameInput::GetShortInputDescription() const
|
||||
keyName = std::to_string(Value);
|
||||
break;
|
||||
case InputTypes::GameController:
|
||||
if (Value >= SDL_CONTROLLER_BUTTON_A && Value <= SDL_CONTROLLER_BUTTON_TOUCHPAD)
|
||||
if (Value >= SDL_CONTROLLER_BUTTON_A && Value < SDL_CONTROLLER_BUTTON_MAX)
|
||||
keyName = controllerButtons[Value];
|
||||
else
|
||||
keyName = std::to_string(Value);
|
||||
|
Loading…
Reference in New Issue
Block a user