Merge pull request #7715 from gidoly/patch-4
Xbox controller default name nit pick
This commit is contained in:
commit
fc3eb72359
|
@ -198,9 +198,9 @@ public:
|
||||||
if (sdl_controller) {
|
if (sdl_controller) {
|
||||||
switch (SDL_GameControllerGetType(sdl_controller.get())) {
|
switch (SDL_GameControllerGetType(sdl_controller.get())) {
|
||||||
case SDL_CONTROLLER_TYPE_XBOX360:
|
case SDL_CONTROLLER_TYPE_XBOX360:
|
||||||
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:
|
case SDL_CONTROLLER_TYPE_PS3:
|
||||||
return "DualShock 3 Controller";
|
return "DualShock 3 Controller";
|
||||||
case SDL_CONTROLLER_TYPE_PS4:
|
case SDL_CONTROLLER_TYPE_PS4:
|
||||||
|
|
Reference in New Issue