mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-10 02:15:29 +00:00
hidapi can be used with libusb, or the kernel driver "hidraw" (likely only relevant for rooted devices), to access HID devices. Goal is to patch it further and use it together with termux-usb. Add it now for testing and development purposes.
10 lines
565 B
Bash
10 lines
565 B
Bash
TERMUX_PKG_HOMEPAGE=https://libusb.info/hidapi
|
|
TERMUX_PKG_DESCRIPTION="Simple cross-platform library for communicating with HID devices"
|
|
TERMUX_PKG_LICENSE="GPL-3.0, BSD 3-Clause, custom"
|
|
TERMUX_PKG_LICENSE_FILE="LICENSE.txt, LICENSE-gpl3.txt, LICENSE-bsd.txt, LICENSE-orig.txt"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.14.0
|
|
TERMUX_PKG_SRCURL="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${TERMUX_PKG_VERSION}.tar.gz"
|
|
TERMUX_PKG_SHA256=a5714234abe6e1f53647dd8cba7d69f65f71c558b7896ed218864ffcf405bcbd
|
|
TERMUX_PKG_DEPENDS="libiconv, libusb"
|