mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-04 14:02:45 +01:00
Merge pull request #7713 from gidoly/patch-3
Change default name for playstation controllers
This commit is contained in:
commit
480b03b645
1 changed files with 6 additions and 0 deletions
|
@ -201,6 +201,12 @@ public:
|
||||||
return "XBox 360 Controller";
|
return "XBox 360 Controller";
|
||||||
case SDL_CONTROLLER_TYPE_XBOXONE:
|
case SDL_CONTROLLER_TYPE_XBOXONE:
|
||||||
return "XBox One Controller";
|
return "XBox One Controller";
|
||||||
|
case SDL_CONTROLLER_TYPE_PS3:
|
||||||
|
return "DualShock 3 Controller";
|
||||||
|
case SDL_CONTROLLER_TYPE_PS4:
|
||||||
|
return "DualShock 4 Controller";
|
||||||
|
case SDL_CONTROLLER_TYPE_PS5:
|
||||||
|
return "DualSense Controller";
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue