Sync wiki -> header
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
diff --git a/include/SDL_hidapi.h b/include/SDL_hidapi.h
index ad6f1ea..6c3bc97 100644
--- a/include/SDL_hidapi.h
+++ b/include/SDL_hidapi.h
@@ -211,18 +211,18 @@ extern DECLSPEC SDL_hid_device_info * SDLCALL SDL_hid_enumerate(unsigned short v
extern DECLSPEC void SDLCALL SDL_hid_free_enumeration(SDL_hid_device_info *devs);
/**
- * Open a HID device using a Vendor ID (VID), Product ID
- * (PID) and optionally a serial number.
+ * Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally
+ * a serial number.
*
- * If `serial_number` is NULL, the first device with the
- * specified VID and PID is opened.
+ * If `serial_number` is NULL, the first device with the specified VID and PID
+ * is opened.
*
* \param vendor_id The Vendor ID (VID) of the device to open.
* \param product_id The Product ID (PID) of the device to open.
- * \param serial_number The Serial Number of the device to open
- * (Optionally NULL).
- *
- * \returns a pointer to a SDL_hid_device object on success or NULL on failure.
+ * \param serial_number The Serial Number of the device to open (Optionally
+ * NULL).
+ * \returns a pointer to a SDL_hid_device object on success or NULL on
+ * failure.
*
* \since This function is available since SDL 2.0.18.
*/
@@ -232,12 +232,11 @@ extern DECLSPEC SDL_hid_device * SDLCALL SDL_hid_open(unsigned short vendor_id,
* Open a HID device by its path name.
*
* The path name be determined by calling SDL_hid_enumerate(), or a
- * platform-specific path name can be used (eg: /dev/hidraw0 on
- * Linux).
+ * platform-specific path name can be used (eg: /dev/hidraw0 on Linux).
*
* \param path The path name of the device to open
- *
- * \returns a pointer to a SDL_hid_device object on success or NULL on failure.
+ * \returns a pointer to a SDL_hid_device object on success or NULL on
+ * failure.
*
* \since This function is available since SDL 2.0.18.
*/