Xbox controller default name nit pick

Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
This commit is contained in:
gidoly 2022-01-16 05:59:31 +09:00 committed by GitHub
parent 480b03b645
commit 92d676d788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: