32 defaultKeyboardKeyToButtonMappings,
33 std::unordered_map<
Ship::StickIndex, std::vector<std::pair<Ship::Direction, Ship::KbScancode>>>
34 defaultKeyboardKeyToAxisDirectionMappings,
35 std::unordered_map<
CONTROLLERBUTTONS_T, std::unordered_set<SDL_GamepadButton>> defaultSDLButtonToButtonMappings,
36 std::unordered_map<
Ship::StickIndex, std::vector<std::pair<Ship::Direction, SDL_GamepadButton>>>
37 defaultSDLButtonToAxisDirectionMappings,
39 defaultSDLAxisDirectionToButtonMappings,
41 std::vector<std::pair<
Ship::Direction, std::pair<SDL_GamepadAxis, int32_t>>>>
42 defaultSDLAxisDirectionToAxisDirectionMappings);
58 SetDefaultKeyboardKeyToButtonMappings(std::unordered_map<
CONTROLLERBUTTONS_T, std::unordered_set<Ship::KbScancode>>
59 defaultKeyboardKeyToButtonMappings)
override;
65 void SetDefaultSDLButtonToButtonMappings(
66 std::unordered_map<
CONTROLLERBUTTONS_T, std::unordered_set<SDL_GamepadButton>> defaultSDLButtonToButtonMappings)
73 void SetDefaultSDLAxisDirectionToButtonMappings(
75 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_GamepadButton > > defaultSDLButtonToButtonMappings, std::unordered_map< Ship::StickIndex, std::vector< std::pair< Ship::Direction, SDL_GamepadButton > > > defaultSDLButtonToAxisDirectionMappings, std::unordered_map< CONTROLLERBUTTONS_T, std::vector< std::pair< SDL_GamepadAxis, int32_t > > > defaultSDLAxisDirectionToButtonMappings, std::unordered_map< Ship::StickIndex, std::vector< std::pair< Ship::Direction, std::pair< SDL_GamepadAxis, int32_t > > > > defaultSDLAxisDirectionToAxisDirectionMappings)
Full constructor — supply all default mapping tables explicitly.