diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-02-18 17:16:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 17:16:14 +0100 |
commit | 1c550ff954df96970022cf603568cd8908fd9a7b (patch) | |
tree | 89e625fa543ead175c3b722b5c30a19936629841 /src | |
parent | Merge pull request #5952 from ReinUsesLisp/cityhash (diff) | |
download | yuzu-1c550ff954df96970022cf603568cd8908fd9a7b.tar yuzu-1c550ff954df96970022cf603568cd8908fd9a7b.tar.gz yuzu-1c550ff954df96970022cf603568cd8908fd9a7b.tar.bz2 yuzu-1c550ff954df96970022cf603568cd8908fd9a7b.tar.lz yuzu-1c550ff954df96970022cf603568cd8908fd9a7b.tar.xz yuzu-1c550ff954df96970022cf603568cd8908fd9a7b.tar.zst yuzu-1c550ff954df96970022cf603568cd8908fd9a7b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/sdl/sdl_impl.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp index a88ae452f..f67de37e3 100644 --- a/src/input_common/sdl/sdl_impl.cpp +++ b/src/input_common/sdl/sdl_impl.cpp @@ -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); |