瀏覽代碼

Added wiki-style documentation for SDL_JoystickGUID

Sam Lantinga 1 年之前
父節點
當前提交
477c718744
共有 1 個文件被更改,包括 5 次插入1 次删除
  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;
 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;
 
 /**