mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling.
This commit is contained in:
parent
adafe1f347
commit
19c3b88e5a
1 changed files with 2 additions and 0 deletions
|
@ -441,6 +441,8 @@ InputBackend::InputBackend(ControllerInterface* controller_interface)
|
||||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
|
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
|
||||||
// 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");
|
||||||
|
// We have our own WGI backend. Enabling SDL's WGI handling creates even more redundant devices.
|
||||||
|
SDL_SetHint(SDL_HINT_JOYSTICK_WGI, "0");
|
||||||
|
|
||||||
m_hotplug_thread = std::thread([this] {
|
m_hotplug_thread = std::thread([this] {
|
||||||
Common::ScopeGuard quit_guard([] {
|
Common::ScopeGuard quit_guard([] {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue