Explorar o código

Added wiki-style documentation for SDL_JoystickGUID

Sam Lantinga hai 1 ano
pai
achega
477c718744
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      include/SDL_joystick.h

+ 5 - 1
include/SDL_joystick.h

@@ -77,7 +77,11 @@ extern SDL_mutex *SDL_joystick_lock;
 struct _SDL_Joystick;
 struct _SDL_Joystick;
 typedef struct _SDL_Joystick SDL_Joystick;
 typedef struct _SDL_Joystick SDL_Joystick;
 
 
-/* A structure that encodes the stable unique id for a joystick device */
+/**
+ * A structure that encodes the stable unique id for a joystick device.
+ *
+ * This is just a standard SDL_GUID by a different name.
+ */
 typedef SDL_GUID SDL_JoystickGUID;
 typedef SDL_GUID SDL_JoystickGUID;
 
 
 /**
 /**