mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 09:20:06 +00:00
Merge pull request #7784 from german77/ds5
input_common: Add DS5 to HD rumble list
This commit is contained in:
commit
1900abde13
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user