mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-12 10:12:54 +01:00
Merge pull request #7784 from german77/ds5
input_common: Add DS5 to HD rumble list
This commit is contained in:
commit
5865d6f406
1 file changed
+3
-2
@@ -109,8 +109,9 @@ public:
|
||||
|
||||
bool HasHDRumble() const {
|
||||
if (sdl_controller) {
|
||||
return (SDL_GameControllerGetType(sdl_controller.get()) ==
|
||||
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO);
|
||||
const auto type = SDL_GameControllerGetType(sdl_controller.get());
|
||||
return (type == SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO) ||
|
||||
(type == SDL_CONTROLLER_TYPE_PS5);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user