mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 20:55:56 +00:00
Initial implementation of controller color config (#2411)
This commit is contained in:
parent
ad43ba5ec7
commit
1cc9e0d37f
5 changed files with 73 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue