1*4882a593Smuzhiyunconfig BR2_PACKAGE_HIDAPI 2*4882a593Smuzhiyun bool "hidapi" 3*4882a593Smuzhiyun depends on BR2_PACKAGE_HAS_UDEV 4*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL 5*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 6*4882a593Smuzhiyun select BR2_PACKAGE_LIBUSB 7*4882a593Smuzhiyun select BR2_PACKAGE_LIBGUDEV 8*4882a593Smuzhiyun select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE 9*4882a593Smuzhiyun # runtime UTF conversion support 10*4882a593Smuzhiyun select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC 11*4882a593Smuzhiyun help 12*4882a593Smuzhiyun HIDAPI is a multi-platform library which allows an application 13*4882a593Smuzhiyun to interface with USB and Bluetooth HID-Class devices on 14*4882a593Smuzhiyun Windows, Linux, and Mac OS X. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun http://github.com/libusb/hidapi/ 17*4882a593Smuzhiyun 18*4882a593Smuzhiyuncomment "hidapi needs udev /dev management and a toolchain w/ NPTL, threads, gcc >= 4.9" 19*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ 20*4882a593Smuzhiyun !BR2_PACKAGE_HAS_UDEV || \ 21*4882a593Smuzhiyun !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 22