forked from ShuriZma/suyu
Change default name for ps controllers
Minor nitpick Code is from narr
This commit is contained in:
parent
4064e03568
commit
7978ea4e8c
|
@ -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 New Issue