mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
Initial implementation of controller color config (#2411)
This commit is contained in:
@@ -129,7 +129,8 @@ void SDLInputEngine::Init() {
|
||||
};
|
||||
}
|
||||
SDL_free(gamepads);
|
||||
SetLightBarRGB(0, 0, 255);
|
||||
int* rgb = Config::GetControllerCustomColor();
|
||||
SetLightBarRGB(rgb[0], rgb[1], rgb[2]);
|
||||
}
|
||||
|
||||
void SDLInputEngine::SetLightBarRGB(u8 r, u8 g, u8 b) {
|
||||
|
||||
Reference in New Issue
Block a user