42 static std::shared_ptr<ControllerAxisDirectionMapping>
44 std::shared_ptr<ConsoleVariable> consoleVariable,
45 std::shared_ptr<ControlDeck> controlDeck, std::shared_ptr<Window> window);
57 uint8_t portIndex,
StickIndex stickIndex, std::shared_ptr<ConsoleVariable> consoleVariable,
58 std::shared_ptr<ControlDeck> controlDeck, std::shared_ptr<Window> window);
68 static std::vector<std::shared_ptr<ControllerAxisDirectionMapping>>
70 std::shared_ptr<ConsoleVariable> consoleVariable,
71 std::shared_ptr<ControlDeck> controlDeck);
82 static std::shared_ptr<ControllerAxisDirectionMapping>
84 std::shared_ptr<ConsoleVariable> consoleVariable,
85 std::shared_ptr<ControlDeck> controlDeck);
96 static std::shared_ptr<ControllerAxisDirectionMapping>
98 std::shared_ptr<ConsoleVariable> consoleVariable,
99 std::shared_ptr<ControlDeck> controlDeck);
Factory for creating ControllerAxisDirectionMapping instances.
Definition AxisDirectionMappingFactory.h:30
static std::shared_ptr< ControllerAxisDirectionMapping > CreateAxisDirectionMappingFromMouseWheelInput(uint8_t portIndex, StickIndex stickIndex, Direction direction, std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< ControlDeck > controlDeck)
Creates an axis-direction mapping from mouse wheel input for interactive binding.
static std::vector< std::shared_ptr< ControllerAxisDirectionMapping > > CreateDefaultKeyboardAxisDirectionMappings(uint8_t portIndex, StickIndex stickIndex, std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< ControlDeck > controlDeck, std::shared_ptr< Window > window)
Creates default keyboard mappings for the given stick and direction.
static std::vector< std::shared_ptr< ControllerAxisDirectionMapping > > CreateDefaultSDLAxisDirectionMappings(uint8_t portIndex, StickIndex stickIndex, std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< ControlDeck > controlDeck)
Creates default SDL mappings for the given stick.
static std::shared_ptr< ControllerAxisDirectionMapping > CreateAxisDirectionMappingFromConfig(uint8_t portIndex, StickIndex stickIndex, std::string id, std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< ControlDeck > controlDeck, std::shared_ptr< Window > window)
Deserializes an axis-direction mapping from the configuration string.
static std::shared_ptr< ControllerAxisDirectionMapping > CreateAxisDirectionMappingFromSDLInput(uint8_t portIndex, StickIndex stickIndex, Direction direction, std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< ControlDeck > controlDeck)
Creates an axis-direction mapping from live SDL input for interactive binding.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14
Direction
Identifies the direction component of an axis mapping.
Definition ControllerAxisDirectionMapping.h:18
StickIndex
Identifies which analog stick an axis mapping applies to.
Definition ControllerAxisDirectionMapping.h:15