32 defaultKeyboardKeyToButtonMappings,
33 std::unordered_map<
Ship::StickIndex, std::vector<std::pair<Ship::Direction, Ship::KbScancode>>>
34 defaultKeyboardKeyToAxisDirectionMappings,
36 defaultSDLButtonToButtonMappings,
37 std::unordered_map<
Ship::StickIndex, std::vector<std::pair<Ship::Direction, SDL_GameControllerButton>>>
38 defaultSDLButtonToAxisDirectionMappings,
39 std::unordered_map<
CONTROLLERBUTTONS_T, std::vector<std::pair<SDL_GameControllerAxis, int32_t>>>
40 defaultSDLAxisDirectionToButtonMappings,
42 std::vector<std::pair<
Ship::Direction, std::pair<SDL_GameControllerAxis, int32_t>>>>
43 defaultSDLAxisDirectionToAxisDirectionMappings);
59 SetDefaultKeyboardKeyToButtonMappings(std::unordered_map<
CONTROLLERBUTTONS_T, std::unordered_set<Ship::KbScancode>>
60 defaultKeyboardKeyToButtonMappings)
override;
66 void SetDefaultSDLButtonToButtonMappings(
68 defaultSDLButtonToButtonMappings)
override;
74 void SetDefaultSDLAxisDirectionToButtonMappings(
75 std::unordered_map<
CONTROLLERBUTTONS_T, std::vector<std::pair<SDL_GameControllerAxis, int32_t>>>
76 defaultSDLAxisDirectionToButtonMappings)
override;
ControllerDefaultMappings(std::unordered_map< CONTROLLERBUTTONS_T, std::unordered_set< Ship::KbScancode > > defaultKeyboardKeyToButtonMappings, std::unordered_map< Ship::StickIndex, std::vector< std::pair< Ship::Direction, Ship::KbScancode > > > defaultKeyboardKeyToAxisDirectionMappings, std::unordered_map< CONTROLLERBUTTONS_T, std::unordered_set< SDL_GameControllerButton > > defaultSDLButtonToButtonMappings, std::unordered_map< Ship::StickIndex, std::vector< std::pair< Ship::Direction, SDL_GameControllerButton > > > defaultSDLButtonToAxisDirectionMappings, std::unordered_map< CONTROLLERBUTTONS_T, std::vector< std::pair< SDL_GameControllerAxis, int32_t > > > defaultSDLAxisDirectionToButtonMappings, std::unordered_map< Ship::StickIndex, std::vector< std::pair< Ship::Direction, std::pair< SDL_GameControllerAxis, int32_t > > > > defaultSDLAxisDirectionToAxisDirectionMappings)
Full constructor — supply all default mapping tables explicitly.