mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
InputCommon: Disable DualSense Player LED
This commit is contained in:
parent
97931a718f
commit
2f38a00534
@ -435,6 +435,9 @@ InputBackend::InputBackend(ControllerInterface* controller_interface)
|
|||||||
// We want buttons to come in as positions, not labels
|
// We want buttons to come in as positions, not labels
|
||||||
SDL_SetHint(SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS, "0");
|
SDL_SetHint(SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS, "0");
|
||||||
|
|
||||||
|
// Disable DualSense Player LEDs; We already colorize the Primary LED
|
||||||
|
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED, "0");
|
||||||
|
|
||||||
m_hotplug_thread = std::thread([this] {
|
m_hotplug_thread = std::thread([this] {
|
||||||
Common::ScopeGuard quit_guard([] {
|
Common::ScopeGuard quit_guard([] {
|
||||||
// TODO: there seems to be some sort of memory leak with SDL, quit isn't freeing everything up
|
// TODO: there seems to be some sort of memory leak with SDL, quit isn't freeing everything up
|
||||||
|
Loading…
Reference in New Issue
Block a user