24 std::shared_ptr<ControlDeck> controlDeck =
nullptr,
25 std::shared_ptr<ConsoleVariable> consoleVariable =
nullptr);
Maps LED colour output to a physical controller.
Definition ControllerLEDMapping.h:21
Maps an SDL gamepad's LED to a controller LED output.
Definition SDLLEDMapping.h:15
std::string GetLEDMappingId() override
Returns the unique string identifier for this mapping.
void EraseFromConfig() override
Removes this mapping from the application configuration.
std::shared_ptr< ControlDeck > mControlDeck
Definition SDLLEDMapping.h:47
SDLLEDMapping(uint8_t portIndex, uint8_t colorSource, Color_RGB8 savedColor, std::shared_ptr< ControlDeck > controlDeck=nullptr, std::shared_ptr< ConsoleVariable > consoleVariable=nullptr)
Constructs an SDL LED mapping.
std::shared_ptr< ConsoleVariable > mConsoleVariable
Definition SDLLEDMapping.h:46
void SaveToConfig() override
Persists this mapping to the application configuration.
void SetLEDColor(Color_RGB8 color) override
Sends an RGB colour to the gamepad LED.
std::string GetPhysicalDeviceName() override
Returns the human-readable name of the SDL gamepad device.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14
8-bit RGB colour without an alpha channel.
Definition color.h:14