Selaa lähdekoodia

Updated internal documentation

Sam Lantinga 1 kuukausi sitten
vanhempi
sitoutus
c4cef905ae
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      src/joystick/SDL_gamepad.c

+ 3 - 3
src/joystick/SDL_gamepad.c

@@ -3173,7 +3173,7 @@ char *SDL_GetGamepadMappingForID(SDL_JoystickID instance_id)
 }
 }
 
 
 /*
 /*
- * Return 1 if the joystick with this name and GUID is a supported gamepad
+ * Return true if the joystick with this name and GUID is a supported gamepad
  */
  */
 bool SDL_IsGamepadNameAndGUID(const char *name, SDL_GUID guid)
 bool SDL_IsGamepadNameAndGUID(const char *name, SDL_GUID guid)
 {
 {
@@ -3193,7 +3193,7 @@ bool SDL_IsGamepadNameAndGUID(const char *name, SDL_GUID guid)
 }
 }
 
 
 /*
 /*
- * Return 1 if the joystick at this device index is a supported gamepad
+ * Return true if the joystick at this device index is a supported gamepad
  */
  */
 bool SDL_IsGamepad(SDL_JoystickID instance_id)
 bool SDL_IsGamepad(SDL_JoystickID instance_id)
 {
 {
@@ -3225,7 +3225,7 @@ bool SDL_IsGamepad(SDL_JoystickID instance_id)
 }
 }
 
 
 /*
 /*
- * Return 1 if the gamepad should be ignored by SDL
+ * Return true if the gamepad should be ignored by SDL
  */
  */
 bool SDL_ShouldIgnoreGamepad(Uint16 vendor_id, Uint16 product_id, Uint16 version, const char *name)
 bool SDL_ShouldIgnoreGamepad(Uint16 vendor_id, Uint16 product_id, Uint16 version, const char *name)
 {
 {