From 4161a60514e7f514b19d8e57e6c548129add63ae Mon Sep 17 00:00:00 2001 From: Ihor Dutchak Date: Sun, 15 Nov 2026 21:31:42 +0200 Subject: [PATCH] docs: correct hid_libusb_error introduction version Document hid_libusb_error as available since 0.16.0 and correct its version-check example. Assisted-by: Codex:GPT-6 --- libusb/hidapi_libusb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libusb/hidapi_libusb.h b/libusb/hidapi_libusb.h index 417c0f985..3cbc5f365 100644 --- a/libusb/hidapi_libusb.h +++ b/libusb/hidapi_libusb.h @@ -51,7 +51,7 @@ extern "C" { /** @brief Similar to @ref hid_error but gives a libusb error code. - Since version 0.15.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 15, 0) + Since version 0.16.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 16, 0) If the error occurred is not immediately caused by a libusb function call, the returned value is 1. @ref hid_error would still contain a valid and meaningful error message.