mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 05:16:24 -05:00
Revert "Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
This commit is contained in:
parent
c864f2c532
commit
1c550ff954
1 changed files with 0 additions and 7 deletions
|
@ -717,13 +717,6 @@ SDLState::SDLState() {
|
|||
if (SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1") == SDL_FALSE) {
|
||||
LOG_ERROR(Input, "Failed to set hint for background events with: {}", SDL_GetError());
|
||||
}
|
||||
// these hints are only defined on sdl2.0.9 or higher
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 9)
|
||||
#if !SDL_VERSION_ATLEAST(2, 0, 12)
|
||||
// There are also hints to toggle the individual drivers if needed.
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI, "0");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
SDL_AddEventWatch(&SDLEventWatcher, this);
|
||||
|
||||
|
|
Loading…
Reference in a new issue