mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-09 03:37:49 +03:00
forgot c up and c right
This commit is contained in:
parent
25d5d1758a
commit
4137d413be
@ -146,7 +146,9 @@ GameEngine::GameEngine() {
|
|||||||
// SDLAxisDirectionToButtonMappings
|
// SDLAxisDirectionToButtonMappings
|
||||||
std::unordered_map<CONTROLLERBUTTONS_T, std::vector<std::pair<SDL_GameControllerAxis, int32_t>>>{
|
std::unordered_map<CONTROLLERBUTTONS_T, std::vector<std::pair<SDL_GameControllerAxis, int32_t>>>{
|
||||||
{ BTN_R, { { SDL_CONTROLLER_AXIS_TRIGGERRIGHT, 1 } } },
|
{ 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
|
// SDLAxisDirectionToAxisDirectionMappings - use built-in LUS defaults
|
||||||
std::unordered_map<Ship::StickIndex, std::vector<std::pair<Ship::Direction, std::pair<SDL_GameControllerAxis, int32_t>>>>()
|
std::unordered_map<Ship::StickIndex, std::vector<std::pair<Ship::Direction, std::pair<SDL_GameControllerAxis, int32_t>>>>()
|
||||||
|
Loading…
Reference in New Issue
Block a user