src/joystick/SDL_sysjoystick.h
changeset 9380 07b7c1005a23
parent 8985 a89acd7254f2
child 9433 bd062398b648
--- a/src/joystick/SDL_sysjoystick.h	Fri Mar 06 21:34:10 2015 +0100
+++ b/src/joystick/SDL_sysjoystick.h	Wed Mar 11 21:14:21 2015 +0100
@@ -78,14 +78,14 @@
 extern SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index);
 
 /* Function to open a joystick for use.
-   The joystick to open is specified by the index field of the joystick.
+   The joystick to open is specified by the device index.
    This should fill the nbuttons and naxes fields of the joystick structure.
    It returns 0, or -1 if there is an error.
  */
 extern int SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index);
 
 /* Function to query if the joystick is currently attached
- *   It returns 1 if attached, 0 otherwise.
+ * It returns SDL_TRUE if attached, SDL_FALSE otherwise.
  */
 extern SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick * joystick);