Xbox controller default name nit pick
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
This commit is contained in:
parent
480b03b645
commit
92d676d788
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue