4432b08790
A python wrapper for the hidapi library. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
16 lines
497 B
Plaintext
16 lines
497 B
Plaintext
config BR2_PACKAGE_PYTHON_HID
|
|
bool "python-hid"
|
|
depends on BR2_PACKAGE_HAS_UDEV # hidapi
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi
|
|
select BR2_PACKAGE_HIDAPI
|
|
help
|
|
ctypes bindings for hidapi.
|
|
|
|
https://github.com/apmorton/pyhidapi
|
|
|
|
comment "python-hid needs udev /dev management and a toolchain w/ NPTL, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_PACKAGE_HAS_UDEV || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|