BSD Ports

comms/libhidapi 0.15.0 NetBSD

Library for comunicating with bluetooth and usb hid devices

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v3 OR modified-bsd
Categories
comms, devel
Package size
27.3 KiB, 93.3 KiB installed

Description

HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices on Windows, Linux, and Mac OS X. On Windows, a DLL is built. On other platforms (and optionally on Windows), the single source file can simply be dropped into a target application.

HIDAPI has four back-ends: * Windows (using hid.dll) * Linux/hidraw (using the Kernel's hidraw driver) * Linux/libusb (using libusb-1.0) * NetBSD (using uhid(4) and drvctl(4)) * Mac (using IOHidManager)

This package includes the libusb, Linux hidraw, and NetBSD backend.

In the other systems

SystemPortVersion
NetBSDcomms/libhidapi0.15.0
OpenBSDcomms/libhidapi0.15.0

Install

Binary package:

pkgin install libhidapi

From pkgsrc:

cd /usr/pkgsrc/comms/libhidapi && make install clean

Dependencies

Run dependencies 1