diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index 6433ad4f..1b7099a9 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -146,7 +146,9 @@ GameEngine::GameEngine() { // SDLAxisDirectionToButtonMappings std::unordered_map>>{ { BTN_R, { { SDL_CONTROLLER_AXIS_TRIGGERRIGHT, 1 } } }, - { BTN_Z, { { SDL_CONTROLLER_AXIS_TRIGGERLEFT, 1 } } } + { BTN_Z, { { SDL_CONTROLLER_AXIS_TRIGGERLEFT, 1 } } }, + { BTN_CUP, { { SDL_CONTROLLER_AXIS_RIGHTY, -1 } } }, + { BTN_CRIGHT, { { SDL_CONTROLLER_AXIS_RIGHTX, 1 } } } }, // SDLAxisDirectionToAxisDirectionMappings - use built-in LUS defaults std::unordered_map>>>()