Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot 2023-05-27 17:52:16 +00:00
parent 0ffeca8a1c
commit 4d6ed7173e
1 changed files with 3 additions and 1 deletions

View File

@ -222,7 +222,9 @@ extern DECLSPEC Uint32 SDLCALL SDL_hid_device_change_count(void);
* matches. If `vendor_id` and `product_id` are both set to 0, then all HID * matches. If `vendor_id` and `product_id` are both set to 0, then all HID
* devices will be returned. * devices will be returned.
* *
* By default SDL will only enumerate controllers, to reduce risk of hanging or crashing on bad drivers, but SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS can be set to "0" to enumerate all HID devices. * By default SDL will only enumerate controllers, to reduce risk of hanging
* or crashing on bad drivers, but SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS
* can be set to "0" to enumerate all HID devices.
* *
* \param vendor_id The Vendor ID (VID) of the types of device to open, or 0 * \param vendor_id The Vendor ID (VID) of the types of device to open, or 0
* to match any vendor. * to match any vendor.