Skip to content
Snippets Groups Projects
Unverified Commit 1900abde authored by Morph's avatar Morph Committed by GitHub
Browse files

Merge pull request #7784 from german77/ds5

input_common: Add DS5 to HD rumble list
parents 60b56705 fd1cef56
No related branches found
No related tags found
No related merge requests found
...@@ -109,8 +109,9 @@ public: ...@@ -109,8 +109,9 @@ public:
bool HasHDRumble() const { bool HasHDRumble() const {
if (sdl_controller) { if (sdl_controller) {
return (SDL_GameControllerGetType(sdl_controller.get()) == const auto type = SDL_GameControllerGetType(sdl_controller.get());
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO); return (type == SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO) ||
(type == SDL_CONTROLLER_TYPE_PS5);
} }
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment