Set actual button for temporary jump action

This commit is contained in:
Maximilian Giller 2023-06-08 00:56:35 +02:00
parent d2a06324c9
commit 5a4c3949b0

View file

@ -35,7 +35,7 @@ const std::map<sf::Keyboard::Key, ButtonConfig> KEY_CONFIGS = {
// Gamepad buttons
const std::map<int, ButtonConfig> GAMEPAD_BUTTON_CONFIGS = {
{20, ButtonConfig(InputDeviceGroup::GAMEPAD, {GameAction::JUMP})}
{GamepadButton::SOUTH, ButtonConfig(InputDeviceGroup::GAMEPAD, {GameAction::JUMP})}
};