libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
LEDMappingFactory.h
Go to the documentation of this file.
1#pragma once
2
4#include <memory>
5#include <string>
6#include <vector>
7
8namespace Ship {
9class ConsoleVariable;
10class ControlDeck;
11
33 public:
42 static std::shared_ptr<ControllerLEDMapping>
43 CreateLEDMappingFromConfig(uint8_t portIndex, std::string id, std::shared_ptr<ConsoleVariable> consoleVariable,
44 std::shared_ptr<ControlDeck> controlDeck);
45
53 static std::shared_ptr<ControllerLEDMapping>
54 CreateLEDMappingFromSDLInput(uint8_t portIndex, std::shared_ptr<ConsoleVariable> consoleVariable,
55 std::shared_ptr<ControlDeck> controlDeck);
56};
57} // namespace Ship
Factory for creating ControllerLEDMapping instances.
Definition LEDMappingFactory.h:32
static std::shared_ptr< ControllerLEDMapping > CreateLEDMappingFromSDLInput(uint8_t portIndex, std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< ControlDeck > controlDeck)
Creates an LED mapping from live SDL input for interactive binding.
static std::shared_ptr< ControllerLEDMapping > CreateLEDMappingFromConfig(uint8_t portIndex, std::string id, std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< ControlDeck > controlDeck)
Deserializes an LED mapping from the configuration string.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14