mirror of
https://github.com/RPCS3/libusb.git
synced 2026-01-31 01:25:19 +01:00
0f59214f1253a36f27c3acbcd9601d026d4741b1
- revisited fix to issue #48: - guard kIOUSBDeviceInterfaceID500 with 10.8 deployment (not 10.9). I believe a typo in the bug report caused this to be guarded too strictly. - added deployment target tests to every interface check. Necessary because merely checking for a macro definition tells us nothing about what features are available at runtime. It is common to build against new SDKs but deploy to older OSes. - properly guard kIOUSBInterfaceInterfaceID700 against 10.10 deployment (not 10.9). It was added in 10.10. Probably a copy-pasto. - changed non-existent kIOUSBDeviceInterfaceID220 to kIOUSBDeviceInterfaceID197. Probably a copy-pasto. - don't use defines like MAC_OS_X_VERSION_10_9 since they don't exist in older SDKs and would fail to compile, use raw numbers instead. - added tests for newer interfaces: kIOUSBInterfaceInterfaceID800, kIOUSBInterfaceInterfaceID650, kIOUSBDeviceInterfaceID650. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
- Hans de Goede hdegoede@redhat.com
- Xiaofan Chen xiaofanc@gmail.com
- Ludovic Rousseau ludovic.rousseau@gmail.com
- Nathan Hjelm hjelmn@cs.unm.edu
- Chris Dickens christopher.a.dickens@gmail.com
(Please use the mailing list rather than mailing developers directly)
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-31T05:28:31.294Z
Languages
C
91.7%
C++
3.1%
CMake
1.6%
Batchfile
1.1%
Makefile
1%
Other
1.5%